From: <man...@us...> - 2014-10-06 15:25:14
|
Revision: 4395 http://sourceforge.net/p/modplug/code/4395 Author: manxorist Date: 2014-10-06 15:25:07 +0000 (Mon, 06 Oct 2014) Log Message: ----------- [Ref] Reduce header bloat caused by iostreams in tuningbase.h and VstPresets.h . Modified Paths: -------------- trunk/OpenMPT/mptrack/VstPresets.cpp trunk/OpenMPT/mptrack/VstPresets.h trunk/OpenMPT/soundlib/tuningbase.cpp trunk/OpenMPT/soundlib/tuningbase.h Modified: trunk/OpenMPT/mptrack/VstPresets.cpp =================================================================== --- trunk/OpenMPT/mptrack/VstPresets.cpp 2014-10-06 15:18:40 UTC (rev 4394) +++ trunk/OpenMPT/mptrack/VstPresets.cpp 2014-10-06 15:25:07 UTC (rev 4395) @@ -16,6 +16,7 @@ #include <vstsdk2.4/pluginterfaces/vst2.x/vstfxstore.h> #include "VstPresets.h" #include "../soundlib/FileReader.h" +#include <ostream> OPENMPT_NAMESPACE_BEGIN Modified: trunk/OpenMPT/mptrack/VstPresets.h =================================================================== --- trunk/OpenMPT/mptrack/VstPresets.h 2014-10-06 15:18:40 UTC (rev 4394) +++ trunk/OpenMPT/mptrack/VstPresets.h 2014-10-06 15:25:07 UTC (rev 4395) @@ -10,7 +10,7 @@ #pragma once -#include <ostream> +#include <iosfwd> OPENMPT_NAMESPACE_BEGIN Modified: trunk/OpenMPT/soundlib/tuningbase.cpp =================================================================== --- trunk/OpenMPT/soundlib/tuningbase.cpp 2014-10-06 15:18:40 UTC (rev 4394) +++ trunk/OpenMPT/soundlib/tuningbase.cpp 2014-10-06 15:25:07 UTC (rev 4395) @@ -12,7 +12,10 @@ #include "tuningbase.h" #include "../common/serialization_utils.h" +#include <istream> +#include <ostream> + OPENMPT_NAMESPACE_BEGIN Modified: trunk/OpenMPT/soundlib/tuningbase.h =================================================================== --- trunk/OpenMPT/soundlib/tuningbase.h 2014-10-06 15:18:40 UTC (rev 4394) +++ trunk/OpenMPT/soundlib/tuningbase.h 2014-10-06 15:25:07 UTC (rev 4395) @@ -14,8 +14,7 @@ #include <string> #include <vector> #include <cmath> -#include <istream> -#include <ostream> +#include <iosfwd> #include <map> #include <limits> #include "../common/typedefs.h" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |