summaryrefslogtreecommitdiffstats
path: root/src/base/NotationTypes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/NotationTypes.cpp')
-rw-r--r--src/base/NotationTypes.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/base/NotationTypes.cpp b/src/base/NotationTypes.cpp
index 689936b..6fe1360 100644
--- a/src/base/NotationTypes.cpp
+++ b/src/base/NotationTypes.cpp
@@ -476,19 +476,10 @@ Key::Key(int accidentalCount, bool isSharp, bool isMinor) :
}
}
-#if (__GNUC__ < 3)
- std::ostrstream os;
-#else
std::ostringstream os;
-#endif
-
os << "No " << (isMinor ? "minor" : "major") << " key with "
<< accidentalCount << (isSharp ? " sharp(s)" : " flat(s)");
-#if (__GNUC__ < 3)
- os << std::ends;
-#endif
-
throw BadKeySpec(os.str());
}
@@ -509,19 +500,11 @@ Key::Key(int tonicPitch, bool isMinor) :
}
}
-#if (__GNUC__ < 3)
- std::ostrstream os;
-#else
std::ostringstream os;
-#endif
os << "No " << (isMinor ? "minor" : "major") << " key with tonic pitch "
<< tonicPitch;
-#if (__GNUC__ < 3)
- os << std::ends;
-#endif
-
throw BadKeySpec(os.str());
}