Pārlūkot izejas kodu

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

Brad King 23 gadi atpakaļ
vecāks
revīzija
e328ee73c8
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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;