Switched from strstream to sstream.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 7 years ago
parent 95fa0b3590
commit 8c0cfbf661
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -23,14 +23,7 @@
#include "Instrument.h" #include "Instrument.h"
#include <cstdio> #include <cstdio>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
namespace Rosegarden namespace Rosegarden

@ -23,13 +23,7 @@
#include <iostream> #include <iostream>
#include <cstring> #include <cstring>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
namespace Rosegarden namespace Rosegarden
{ {

@ -19,13 +19,7 @@
#include "BaseProperties.h" #include "BaseProperties.h"
#include <vector> #include <vector>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
namespace Rosegarden namespace Rosegarden
{ {

@ -24,13 +24,7 @@
*/ */
#include "Colour.h" #include "Colour.h"
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
namespace Rosegarden namespace Rosegarden
{ {

@ -24,13 +24,7 @@
*/ */
#include <string> #include <string>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
#include "ColourMap.h" #include "ColourMap.h"
#include "XmlExportable.h" #include "XmlExportable.h"

@ -32,13 +32,7 @@
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>
#include <typeinfo> #include <typeinfo>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
using std::cerr; using std::cerr;
using std::endl; using std::endl;

@ -28,16 +28,10 @@
#include <string> #include <string>
#include <algorithm> #include <algorithm>
#include <sstream>
#include "Configuration.h" #include "Configuration.h"
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream>
#endif
namespace Rosegarden namespace Rosegarden
{ {

@ -19,12 +19,7 @@
COPYING included with this distribution for more information. COPYING included with this distribution for more information.
*/ */
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
#include "ControlParameter.h" #include "ControlParameter.h"
#include "MidiTypes.h" #include "MidiTypes.h"

@ -22,16 +22,11 @@
#include <cstdio> #include <cstdio>
#include <cctype> #include <cctype>
#include <iostream> #include <iostream>
#include <sstream>
#include "Event.h" #include "Event.h"
#include "XmlExportable.h" #include "XmlExportable.h"
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream>
#endif
namespace Rosegarden namespace Rosegarden
{ {
using std::string; using std::string;

@ -20,19 +20,13 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <sstream>
#include "Instrument.h" #include "Instrument.h"
#include "MidiDevice.h" #include "MidiDevice.h"
#include "AudioPluginInstance.h" #include "AudioPluginInstance.h"
#include "AudioLevel.h" #include "AudioLevel.h"
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream>
#endif
namespace Rosegarden namespace Rosegarden
{ {

@ -19,17 +19,11 @@
COPYING included with this distribution for more information. COPYING included with this distribution for more information.
*/ */
#include <sstream>
#include "Marker.h" #include "Marker.h"
#include "misc/Debug.h" #include "misc/Debug.h"
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream>
#endif
namespace Rosegarden namespace Rosegarden
{ {

@ -28,13 +28,7 @@
#include <cstdlib> #include <cstdlib>
#include <iostream> #include <iostream>
#include <set> #include <set>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
namespace Rosegarden namespace Rosegarden

@ -28,12 +28,7 @@
#include <cstdlib> // for atoi #include <cstdlib> // for atoi
#include <limits.h> // for SHRT_MIN #include <limits.h> // for SHRT_MIN
#include <cassert> #include <cassert>
#if (__GNUC__ < 3)
#include <strstream>
#else
#include <sstream> #include <sstream>
#endif
//dmm This will make everything excruciatingly slow if defined: //dmm This will make everything excruciatingly slow if defined:
//#define DEBUG_PITCH //#define DEBUG_PITCH

@ -20,13 +20,7 @@
*/ */
#include <iostream> #include <iostream>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
#include "RealTime.h" #include "RealTime.h"
#include "sys/time.h" #include "sys/time.h"

@ -25,14 +25,7 @@
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
namespace Rosegarden namespace Rosegarden

@ -20,6 +20,7 @@
*/ */
#include <iostream> #include <iostream>
#include <sstream>
#include "Studio.h" #include "Studio.h"
#include "MidiDevice.h" #include "MidiDevice.h"
@ -30,12 +31,6 @@
#include "Track.h" #include "Track.h"
#include "Composition.h" #include "Composition.h"
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream>
#endif
using std::cerr; using std::cerr;
using std::endl; using std::endl;

@ -22,13 +22,7 @@
#include "Track.h" #include "Track.h"
#include <iostream> #include <iostream>
#include <cstdio> #include <cstdio>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
#include "Composition.h" #include "Composition.h"
#include "StaffExportTypes.h" #include "StaffExportTypes.h"

@ -23,7 +23,6 @@
#include <sstream> #include <sstream>
#include <stack> #include <stack>
#include <string> #include <string>
#include <strstream>
#include <utility> #include <utility>
#include <vector> #include <vector>

@ -27,13 +27,8 @@
#include <cstdio> // sprintf #include <cstdio> // sprintf
#include <cstdlib> #include <cstdlib>
#include <pthread.h> #include <pthread.h>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
#include <kapp.h> #include <kapp.h>
#include <tdelocale.h> #include <tdelocale.h>

@ -24,13 +24,8 @@
#include <string> #include <string>
#include <iostream> #include <iostream>
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream> #include <sstream>
#endif
// A staggeringly simple-minded audit trail implementation. // A staggeringly simple-minded audit trail implementation.

@ -18,17 +18,11 @@
License, or (at your option) any later version. See the file License, or (at your option) any later version. See the file
COPYING included with this distribution for more information. COPYING included with this distribution for more information.
*/ */
#include <sstream>
#include "BWFAudioFile.h" #include "BWFAudioFile.h"
#include "RealTime.h" #include "RealTime.h"
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream>
#endif
using std::cout; using std::cout;
using std::cerr; using std::cerr;
using std::endl; using std::endl;

@ -27,6 +27,7 @@
#include <string> #include <string>
#include <cstdio> #include <cstdio>
#include <algorithm> #include <algorithm>
#include <sstream>
#include "Midi.h" #include "Midi.h"
#include "MidiFile.h" #include "MidiFile.h"
@ -46,13 +47,6 @@
//#define MIDI_DEBUG 1 //#define MIDI_DEBUG 1
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream>
#endif
#include <kapp.h> #include <kapp.h>
namespace Rosegarden namespace Rosegarden

@ -19,16 +19,11 @@
COPYING included with this distribution for more information. COPYING included with this distribution for more information.
*/ */
#include <sstream>
#include "WAVAudioFile.h" #include "WAVAudioFile.h"
#include "RealTime.h" #include "RealTime.h"
#if (__GNUC__ < 3)
#include <strstream>
#define stringstream strstream
#else
#include <sstream>
#endif
using std::cout; using std::cout;
using std::cerr; using std::cerr;
using std::endl; using std::endl;

Loading…
Cancel
Save