COMP: Try to get stringstream emulation working

This commit is contained in:
Mathieu Malaterre 2006-12-15 10:30:41 -05:00
parent 6469e1a4c4
commit df54b22212
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ public:
{ {
stringstream_cleanup cleanup(*this); stringstream_cleanup cleanup(*this);
stringstream_cleanup::IgnoreUnusedVariable(cleanup); stringstream_cleanup::IgnoreUnusedVariable(cleanup);
int count = this->pcount(); int count = this->rdbuf()->pcount();
const char* ptr = this->Superclass::str(); const char* ptr = this->Superclass::str();
return kwsys_stl::string(ptr?ptr:"", count); return kwsys_stl::string(ptr?ptr:"", count);
} }