summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2016-04-20 21:19:48 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2016-04-20 21:35:01 (GMT)
commit2b25ce30ca825765a5c249e455c466802af95116 (patch)
treecff866f46e7814a69c739b3401e266bcc8d4d9d5 /Source/cmGlobalXCodeGenerator.h
parentffedf3527d7e714b6885b822ee85889016418ebb (diff)
downloadCMake-2b25ce30ca825765a5c249e455c466802af95116.zip
CMake-2b25ce30ca825765a5c249e455c466802af95116.tar.gz
CMake-2b25ce30ca825765a5c249e455c466802af95116.tar.bz2
make cmGlobalXCodeGenerator::XCodeEscapePath() take a std::string&
All callers already have one, and it was immediately converted to one internally. Just keep the old one around, and only modify it when needed.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index 862746f..f7bfb26 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -96,7 +96,7 @@ private:
bool CreateGroups(cmLocalGenerator* root,
std::vector<cmLocalGenerator*>&
generators);
- std::string XCodeEscapePath(const char* p);
+ std::string XCodeEscapePath(const std::string& p);
std::string RelativeToSource(const char* p);
std::string RelativeToBinary(const char* p);
std::string ConvertToRelativeForMake(const char* p);