summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-02-17 13:48:05 (GMT)
committerBrad King <brad.king@kitware.com>2011-02-17 13:48:08 (GMT)
commit1a8eed171bb41b75e09fa09117bfbd02fedc6b89 (patch)
tree223e5acfa1224710f734bea330e92d6b3fd6894b
parent8a8da3694b0f53aef5a677e94fc5855822493456 (diff)
parent006124b44618db3ed672c7ea069b174b966429a1 (diff)
downloadCMake-1a8eed171bb41b75e09fa09117bfbd02fedc6b89.zip
CMake-1a8eed171bb41b75e09fa09117bfbd02fedc6b89.tar.gz
CMake-1a8eed171bb41b75e09fa09117bfbd02fedc6b89.tar.bz2
Merge branch 'add-STRING-subcommand-FIND-issue-11795' into fix-2828-more-info-in-script-mode
-rw-r--r--Source/cmStringCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx
index 1f873e2..19d2369 100644
--- a/Source/cmStringCommand.cxx
+++ b/Source/cmStringCommand.cxx
@@ -553,7 +553,7 @@ bool cmStringCommand::HandleFindCommand(std::vector<std::string> const&
}
if(std::string::npos != pos)
{
- std::stringstream s;
+ cmOStringStream s;
s << pos;
this->Makefile->AddDefinition(outvar.c_str(), s.str().c_str());
return true;