summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-04-20 13:50:46 (GMT)
committerBrad King <brad.king@kitware.com>2007-04-20 13:50:46 (GMT)
commit60d0d429b83d5fe30636d5a0a55f4c99a50c1946 (patch)
treed531ba77448badcaa8bc6110e72f956a3c39ff91 /Source/kwsys
parent0b0258c548d466e421ac8b0ab6e754d70f9d0df7 (diff)
downloadCMake-60d0d429b83d5fe30636d5a0a55f4c99a50c1946.zip
CMake-60d0d429b83d5fe30636d5a0a55f4c99a50c1946.tar.gz
CMake-60d0d429b83d5fe30636d5a0a55f4c99a50c1946.tar.bz2
COMP: Added istringstream::clear() method to disambiguate the call from using string::clear or istrstream::clear.
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/kwsys_ios_sstream.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/kwsys_ios_sstream.h.in b/Source/kwsys/kwsys_ios_sstream.h.in
index ce06d1e..42e247e 100644
--- a/Source/kwsys/kwsys_ios_sstream.h.in
+++ b/Source/kwsys/kwsys_ios_sstream.h.in
@@ -173,6 +173,10 @@ public:
this->~istringstream();
new (this) istringstream(s);
}
+ void clear(int flags)
+ {
+ this->IStrStream::clear(flags);
+ }
private:
istringstream(const istringstream&);
void operator=(const istringstream&);