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.
This commit is contained in:
Rolf Eike Beer
2016-04-20 23:19:48 +02:00
parent ffedf3527d
commit 2b25ce30ca
2 changed files with 17 additions and 18 deletions
+1 -1
View File
@@ -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);