Browse Source

ERR: using declaration to move streams into std namespace needs to bring up ostrstream and ostringstream, not strstream and stringstream.

Brad King 23 years ago
parent
commit
e328ee73c8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmStandardIncludes.h

+ 2 - 2
Source/cmStandardIncludes.h

@@ -108,9 +108,9 @@ using ::ifstream;
 using ::ofstream;
   
 #if !defined(CMAKE_NO_ANSI_STRING_STREAM)
-  using ::stringstream;
+  using ::ostringstream;
 #else
-  using ::strstream;
+  using ::ostrstream;
 #endif
   
 using ::endl;