From df54b2221269727999a51a70162a125391ef759c Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Fri, 15 Dec 2006 10:30:41 -0500 Subject: [PATCH] COMP: Try to get stringstream emulation working --- Source/kwsys/kwsys_ios_sstream.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/kwsys_ios_sstream.h.in b/Source/kwsys/kwsys_ios_sstream.h.in index 61e369187..dcd09753e 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); }