]> git.mxchange.org Git - simgear.git/commitdiff
Shoot, I was trying to hunt down a bug that wasn't even caused by the sstream impleme...
authorehofman <ehofman>
Mon, 20 Oct 2003 19:53:35 +0000 (19:53 +0000)
committerehofman <ehofman>
Mon, 20 Oct 2003 19:53:35 +0000 (19:53 +0000)
simgear/compatibility/sstream

index d531aac336eb09b6298ad86083899801f5a23259..6188ce94c058bdb2f61ba45a5d66274d88a12758 100644 (file)
@@ -10,8 +10,7 @@ namespace std {
 
    class ostringstream : public ostrstream {
    public:
-      ~ostringstream() { delete ostrstream::str(); }
-      std::string str() { return string(ostrstream::str()) + '\0'; }
+      std::string str() {  return string(ostrstream::str()); }
    };