diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-12-15 15:30:41 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-12-15 15:30:41 (GMT) |
commit | df54b2221269727999a51a70162a125391ef759c (patch) | |
tree | fba5a349b3ce6c138165a6dc1a5ed570de157570 /Source/kwsys/kwsys_ios_sstream.h.in | |
parent | 6469e1a4c4db971c419788fdd05c60fa3d12b474 (diff) | |
download | CMake-df54b2221269727999a51a70162a125391ef759c.zip CMake-df54b2221269727999a51a70162a125391ef759c.tar.gz CMake-df54b2221269727999a51a70162a125391ef759c.tar.bz2 |
COMP: Try to get stringstream emulation working
Diffstat (limited to 'Source/kwsys/kwsys_ios_sstream.h.in')
-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); } |