summaryrefslogtreecommitdiff
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-07-09 09:00:00 -0400
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-07-09 09:42:00 -0400
commit8ef18e8525107eac8bc00545d8dafb186f96a227 (patch)
treed35df73936bed697be6cf9dad2be0eedc229388f /Source/cmake.cxx
parent43372d5ba34d2a95a886f39a254870c122e98fa2 (diff)
downloadcmake-8ef18e8525107eac8bc00545d8dafb186f96a227.tar.gz
Clean a few string conversions
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 638f10ef62..265684915c 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1371,7 +1371,7 @@ struct SaveCacheEntry
int cmake::HandleDeleteCacheVariables(const std::string& var)
{
- std::vector<std::string> argsSplit = cmExpandedList(std::string(var), true);
+ std::vector<std::string> argsSplit = cmExpandedList(var, true);
// erase the property to avoid infinite recursion
this->State->SetGlobalProperty("__CMAKE_DELETE_CACHE_CHANGE_VARS_", "");
if (this->State->GetIsInTryCompile()) {