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
This commit is contained in:
@@ -10,8 +10,7 @@ namespace std {
|
|||||||
|
|
||||||
class ostringstream : public ostrstream {
|
class ostringstream : public ostrstream {
|
||||||
public:
|
public:
|
||||||
~ostringstream() { delete ostrstream::str(); }
|
std::string str() { return string(ostrstream::str()); }
|
||||||
std::string str() { return string(ostrstream::str()) + '\0'; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user