Browse Source

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

Brad King 18 năm trước cách đây
mục cha
commit
60d0d429b8
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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&);