From ea1b70191ce3e0e06eb49bd581020c5152fda1b0 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 20 Oct 2003 19:53:35 +0000 Subject: [PATCH] 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 --- simgear/compatibility/sstream | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()); } }; -- 2.39.5