summaryrefslogtreecommitdiffstats
path: root/Source/cmXMLSafe.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-20 20:02:20 (GMT)
committerBrad King <brad.king@kitware.com>2015-08-20 20:19:08 (GMT)
commit6db713c07f2f1b14f695e123008522daf3d26527 (patch)
treea61303680b054387d6df2cc97796d6befcf1f76e /Source/cmXMLSafe.cxx
parente72a5b2c0b51f90970fc4ef27969cee9990be862 (diff)
downloadCMake-6db713c07f2f1b14f695e123008522daf3d26527.zip
CMake-6db713c07f2f1b14f695e123008522daf3d26527.tar.gz
CMake-6db713c07f2f1b14f695e123008522daf3d26527.tar.bz2
Remove use of include <cmsys/ios/*> and cmsys_ios::*
We no longer need this compatibility layer for the compilers we support.
Diffstat (limited to 'Source/cmXMLSafe.cxx')
-rw-r--r--Source/cmXMLSafe.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmXMLSafe.cxx b/Source/cmXMLSafe.cxx
index 99f5625..4ad05ca 100644
--- a/Source/cmXMLSafe.cxx
+++ b/Source/cmXMLSafe.cxx
@@ -13,8 +13,8 @@
#include "cm_utf8.h"
-#include <cmsys/ios/iostream>
-#include <cmsys/ios/sstream>
+#include <iostream>
+#include <sstream>
#include <string.h>
#include <stdio.h>
@@ -45,13 +45,13 @@ cmXMLSafe& cmXMLSafe::Quotes(bool b)
//----------------------------------------------------------------------------
std::string cmXMLSafe::str()
{
- cmsys_ios::ostringstream ss;
+ std::ostringstream ss;
ss << *this;
return ss.str();
}
//----------------------------------------------------------------------------
-cmsys_ios::ostream& operator<<(cmsys_ios::ostream& os, cmXMLSafe const& self)
+std::ostream& operator<<(std::ostream& os, cmXMLSafe const& self)
{
char const* first = self.Data;
char const* last = self.Data + self.Size;