summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-06-21 14:31:37 (GMT)
committerBrad King <brad.king@kitware.com>2002-06-21 14:31:37 (GMT)
commite328ee73c85cd13422152056f3f95d7f6836f1bf (patch)
treec6419dbcf77bc1ba8ddfc47c893a3c38add22810
parent953e01a60432578a0864277e8e8c067aba48da5e (diff)
downloadCMake-e328ee73c85cd13422152056f3f95d7f6836f1bf.zip
CMake-e328ee73c85cd13422152056f3f95d7f6836f1bf.tar.gz
CMake-e328ee73c85cd13422152056f3f95d7f6836f1bf.tar.bz2
ERR: using declaration to move streams into std namespace needs to bring up ostrstream and ostringstream, not strstream and stringstream.
-rw-r--r--Source/cmStandardIncludes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 0563d3c..fb1bdb6 100644
--- a/Source/cmStandardIncludes.h
+++ b/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;