Browse Source

COMP: Added istringstream::clear() method to disambiguate the call from using string::clear or istrstream::clear.

Brad King 18 years ago
parent
commit
60d0d429b8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/kwsys/kwsys_ios_sstream.h.in

+ 4 - 0
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&);