From: ehofman Date: Mon, 20 Oct 2003 19:53:35 +0000 (+0000) Subject: Shoot, I was trying to hunt down a bug that wasn't even caused by the sstream impleme... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ea1b70191ce3e0e06eb49bd581020c5152fda1b0;p=simgear.git Shoot, I was trying to hunt down a bug that wasn't even caused by the sstream implementation! Back out some of the previous patches --- diff --git a/simgear/compatibility/sstream b/simgear/compatibility/sstream index d531aac3..6188ce94 100644 --- a/simgear/compatibility/sstream +++ b/simgear/compatibility/sstream @@ -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()); } };