summaryrefslogtreecommitdiff
path: root/Source/cmLocalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-08 00:29:59 -0500
committerBrad King <brad.king@kitware.com>2014-03-08 13:05:35 -0500
commit215b1addf09359507281359cd7d478c61c01a9f2 (patch)
tree3c6feb2cda4b6d2d75916240d10b50ffc6123459 /Source/cmLocalXCodeGenerator.cxx
parent4c53997f3880785953e3ab6c811626b85ee67510 (diff)
downloadcmake-215b1addf09359507281359cd7d478c61c01a9f2.tar.gz
stringapi: Take strings in escaping functions
Diffstat (limited to 'Source/cmLocalXCodeGenerator.cxx')
-rw-r--r--Source/cmLocalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalXCodeGenerator.cxx b/Source/cmLocalXCodeGenerator.cxx
index a9a27b90c1..fb8c2d15e3 100644
--- a/Source/cmLocalXCodeGenerator.cxx
+++ b/Source/cmLocalXCodeGenerator.cxx
@@ -37,7 +37,7 @@ cmLocalXCodeGenerator::GetTargetDirectory(cmTarget const&) const
//----------------------------------------------------------------------------
void cmLocalXCodeGenerator::AppendFlagEscape(std::string& flags,
- const char* rawFlag)
+ const std::string& rawFlag)
{
cmGlobalXCodeGenerator* gg =
static_cast<cmGlobalXCodeGenerator*>(this->GlobalGenerator);