diff options
author | Brad King <brad.king@kitware.com> | 2011-02-17 13:44:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-02-17 13:44:22 (GMT) |
commit | 006124b44618db3ed672c7ea069b174b966429a1 (patch) | |
tree | 6b3ca0e679f9f5666c3f35d84bcaa0bba890a23e /Source/cmStringCommand.cxx | |
parent | 1462561a8cab7cf3cad9979019778f3c13b0bdf9 (diff) | |
download | CMake-006124b44618db3ed672c7ea069b174b966429a1.zip CMake-006124b44618db3ed672c7ea069b174b966429a1.tar.gz CMake-006124b44618db3ed672c7ea069b174b966429a1.tar.bz2 |
Avoid direct use of std::stringstream
In method cmStringCommand::HandleFindCommand added by parent commit use
the cmOStringStream compatibility wrapper instead of std::stringstream.
Diffstat (limited to 'Source/cmStringCommand.cxx')
-rw-r--r-- | Source/cmStringCommand.cxx | 2 |
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; |