summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-02 16:42:21 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-10 13:46:21 (GMT)
commitf84193292cb36e26d13a3f1f56a1539f088e8827 (patch)
tree797f2c1cb1014e03fa9b2f8e5bfa7d7966eb3eb8 /Source/cmGlobalXCodeGenerator.cxx
parent3c2e58eeb884adea8ee12462f7d471ab518a673f (diff)
downloadCMake-f84193292cb36e26d13a3f1f56a1539f088e8827.zip
CMake-f84193292cb36e26d13a3f1f56a1539f088e8827.tar.gz
CMake-f84193292cb36e26d13a3f1f56a1539f088e8827.tar.bz2
Use new AddCacheEntry signatures
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 763f12a..fa76b01 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -3241,9 +3241,8 @@ std::string cmGlobalXCodeGenerator::GetOrCreateId(const std::string& name,
return *storedGUID;
}
- this->CMakeInstance->AddCacheEntry(guidStoreName, id.c_str(),
- "Stored Xcode object GUID",
- cmStateEnums::INTERNAL);
+ this->CMakeInstance->AddCacheEntry(
+ guidStoreName, id, "Stored Xcode object GUID", cmStateEnums::INTERNAL);
return id;
}