summaryrefslogtreecommitdiff
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-20 16:02:20 -0400
committerBrad King <brad.king@kitware.com>2015-08-20 16:19:08 -0400
commit6db713c07f2f1b14f695e123008522daf3d26527 (patch)
treea61303680b054387d6df2cc97796d6befcf1f76e /Source/cmQtAutoGenerators.cxx
parente72a5b2c0b51f90970fc4ef27969cee9990be862 (diff)
downloadcmake-6db713c07f2f1b14f695e123008522daf3d26527.tar.gz
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/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 4eb9b1349a..f85e70e64c 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -26,7 +26,6 @@
#include <sys/stat.h>
#include <cmsys/Terminal.h>
-#include <cmsys/ios/sstream>
#include <cmsys/FStream.hxx>
#include <assert.h>
@@ -122,7 +121,7 @@ static void copyTargetProperty(cmTarget* destinationTarget,
static std::string ReadAll(const std::string& filename)
{
cmsys::ifstream file(filename.c_str());
- cmsys_ios::stringstream stream;
+ std::stringstream stream;
stream << file.rdbuf();
file.close();
return stream.str();
@@ -1640,7 +1639,7 @@ bool cmQtAutoGenerators::RunAutogen(cmMakefile* makefile)
this->GenerateQrc();
}
- cmsys_ios::stringstream outStream;
+ std::stringstream outStream;
outStream << "/* This file is autogenerated, do not edit*/\n";
bool automocCppChanged = false;