diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/kwsys_ios_sstream.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/kwsys_ios_sstream.h.in b/Source/kwsys/kwsys_ios_sstream.h.in index 61e3691..dcd0975 100644 --- a/Source/kwsys/kwsys_ios_sstream.h.in +++ b/Source/kwsys/kwsys_ios_sstream.h.in @@ -92,7 +92,7 @@ public: { stringstream_cleanup cleanup(*this); stringstream_cleanup::IgnoreUnusedVariable(cleanup); - int count = this->pcount(); + int count = this->rdbuf()->pcount(); const char* ptr = this->Superclass::str(); return kwsys_stl::string(ptr?ptr:"", count); } |