summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2019-03-17 19:22:26 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2019-03-17 19:41:35 (GMT)
commit482d9ef9a8fe640d45eabbf4d6b32cfe5c1d124d (patch)
tree533b06103ddc77f4563d442bd6a09c4e214e3309 /Source/cmGlobalXCodeGenerator.h
parent283330976f2379eec214bfe1d51a27c29cc1f8fc (diff)
downloadCMake-482d9ef9a8fe640d45eabbf4d6b32cfe5c1d124d.zip
CMake-482d9ef9a8fe640d45eabbf4d6b32cfe5c1d124d.tar.gz
CMake-482d9ef9a8fe640d45eabbf4d6b32cfe5c1d124d.tar.bz2
cmGlobalXCodeGenerator: Prefer std::string over char*
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index 95db852..b80a9ad 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -119,8 +119,8 @@ private:
const std::string& name);
bool CreateGroups(std::vector<cmLocalGenerator*>& generators);
std::string XCodeEscapePath(const std::string& p);
- std::string RelativeToSource(const char* p);
- std::string RelativeToBinary(const char* p);
+ std::string RelativeToSource(const std::string& p);
+ std::string RelativeToBinary(const std::string& p);
std::string ConvertToRelativeForMake(std::string const& p);
void CreateCustomCommands(cmXCodeObject* buildPhases,
cmXCodeObject* sourceBuildPhase,