summaryrefslogtreecommitdiff
path: root/Source/cmAddCustomCommandCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-11 13:35:32 +0100
committerStephen Kelly <steveire@gmail.com>2014-03-11 15:03:50 +0100
commitaf8a1643c1a42aa3b276a50bca10a4faab176764 (patch)
treee43581126113bdad071f92dbe531b5d7d1009660 /Source/cmAddCustomCommandCommand.cxx
parent21c573f682f9eafbc8d4402f7febbb1bec1cb86a (diff)
downloadcmake-af8a1643c1a42aa3b276a50bca10a4faab176764.tar.gz
Remove c_str calls when using stream APIs.
Use an ad-hoc clang tool for matching the calls which should be ported.
Diffstat (limited to 'Source/cmAddCustomCommandCommand.cxx')
-rw-r--r--Source/cmAddCustomCommandCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx
index c3a9a16d45..d5f00ff120 100644
--- a/Source/cmAddCustomCommandCommand.cxx
+++ b/Source/cmAddCustomCommandCommand.cxx
@@ -286,7 +286,7 @@ bool cmAddCustomCommandCommand
// No command for this output exists.
cmOStringStream e;
- e << "given APPEND option with output \"" << output[0].c_str()
+ e << "given APPEND option with output \"" << output[0]
<< "\" which is not already a custom command output.";
this->SetError(e.str());
return false;