From: <man...@us...> - 2013-04-24 16:32:11
|
Revision: 1965 http://sourceforge.net/p/modplug/code/1965 Author: manxorist Date: 2013-04-24 16:32:03 +0000 (Wed, 24 Apr 2013) Log Message: ----------- [Ref] <fstream> header is not needed by any header file project wide and is generally only rarely used. Do not drag it in via stdafx.h precompiled header. Modified Paths: -------------- trunk/OpenMPT/common/stdafx.h trunk/OpenMPT/mptrack/TuningDialog.cpp trunk/OpenMPT/mptrack/Vstplug.cpp trunk/OpenMPT/mptrack/test/test.cpp trunk/OpenMPT/soundlib/tuningCollection.cpp trunk/OpenMPT/soundlib/tuningbase.h Modified: trunk/OpenMPT/common/stdafx.h =================================================================== --- trunk/OpenMPT/common/stdafx.h 2013-04-24 16:17:21 UTC (rev 1964) +++ trunk/OpenMPT/common/stdafx.h 2013-04-24 16:32:03 UTC (rev 1965) @@ -36,7 +36,8 @@ #endif // MODPLUG_TRACKER #include <string> -#include <fstream> +#include <istream> +#include <ostream> #include <sstream> Modified: trunk/OpenMPT/mptrack/TuningDialog.cpp =================================================================== --- trunk/OpenMPT/mptrack/TuningDialog.cpp 2013-04-24 16:17:21 UTC (rev 1964) +++ trunk/OpenMPT/mptrack/TuningDialog.cpp 2013-04-24 16:32:03 UTC (rev 1965) @@ -13,6 +13,7 @@ #include "TuningDialog.h" #include "TrackerSettings.h" #include <algorithm> +#include <fstream> #include "../common/misc_util.h" #include "tuningdialog.h" Modified: trunk/OpenMPT/mptrack/Vstplug.cpp =================================================================== --- trunk/OpenMPT/mptrack/Vstplug.cpp 2013-04-24 16:17:21 UTC (rev 1964) +++ trunk/OpenMPT/mptrack/Vstplug.cpp 2013-04-24 16:32:03 UTC (rev 1965) @@ -27,6 +27,7 @@ #include "../common/StringFixer.h" #include "../soundlib/FileReader.h" #include "../soundlib/plugins/JBridge.h" +#include <fstream> #ifdef VST_USE_ALTERNATIVE_MAGIC //Pelya's plugin ID fix. Breaks fx presets, so let's avoid it for now. #define ZLIB_WINAPI #include "../zlib/zlib.h" //For CRC32 calculation (to detect plugins with same UID) Modified: trunk/OpenMPT/mptrack/test/test.cpp =================================================================== --- trunk/OpenMPT/mptrack/test/test.cpp 2013-04-24 16:17:21 UTC (rev 1964) +++ trunk/OpenMPT/mptrack/test/test.cpp 2013-04-24 16:32:03 UTC (rev 1965) @@ -26,7 +26,8 @@ #include "../../common/serialization_utils.h" #include "../../soundlib/SampleFormatConverters.h" #include <limits> -#include <fstream> +#include <istream> +#include <ostream> #include <sstream> #ifdef _DEBUG Modified: trunk/OpenMPT/soundlib/tuningCollection.cpp =================================================================== --- trunk/OpenMPT/soundlib/tuningCollection.cpp 2013-04-24 16:17:21 UTC (rev 1964) +++ trunk/OpenMPT/soundlib/tuningCollection.cpp 2013-04-24 16:32:03 UTC (rev 1965) @@ -13,6 +13,7 @@ #include "../common/serialization_utils.h" #include <algorithm> #include <bitset> +#include <fstream> /* Version history: Modified: trunk/OpenMPT/soundlib/tuningbase.h =================================================================== --- trunk/OpenMPT/soundlib/tuningbase.h 2013-04-24 16:17:21 UTC (rev 1964) +++ trunk/OpenMPT/soundlib/tuningbase.h 2013-04-24 16:32:03 UTC (rev 1965) @@ -23,7 +23,8 @@ #include <string> #include <vector> #include <cmath> -#include <fstream> +#include <istream> +#include <ostream> #include <map> #include <limits> #include "../common/misc_util.h" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |