diff options
author | Brad King <brad.king@kitware.com> | 2016-06-16 13:46:54 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-06-16 13:46:54 (GMT) |
commit | 0e523d0612f50373486c2c2360004bb8ce859f92 (patch) | |
tree | 6194d2f6871bda094e9eb86a0a1f29ce9644f2a5 /Source/cmcldeps.cxx | |
parent | 993991a07de48079233b3a04902a1f34ddfb97df (diff) | |
parent | ed5fa48d50ea0605b47598ff5b1d765548e8d638 (diff) | |
download | CMake-0e523d0612f50373486c2c2360004bb8ce859f92.zip CMake-0e523d0612f50373486c2c2360004bb8ce859f92.tar.gz CMake-0e523d0612f50373486c2c2360004bb8ce859f92.tar.bz2 |
Merge topic 'cleanup-streams'
ed5fa48d cmXMLWriter: use ifstream from KWSys
24ab29b8 Prefer istringstream and ostringstream over stringstream.
ab8b77dd Remove redundant arguments from fstream constructors
eb79fa72 Access std::ios_base with std::ios
Diffstat (limited to 'Source/cmcldeps.cxx')
-rw-r--r-- | Source/cmcldeps.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx index 8b0cede..44f71f1 100644 --- a/Source/cmcldeps.cxx +++ b/Source/cmcldeps.cxx @@ -213,7 +213,7 @@ static int process(const std::string& srcfilename, const std::string& dfile, dir.c_str(), cmSystemTools::OUTPUT_NONE); // process the include directives and output everything else - std::stringstream ss(output); + std::istringstream ss(output); std::string line; std::vector<std::string> includes; bool isFirstLine = true; // cl prints always first the source filename |