diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-07-09 13:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-07-09 13:42:00 (GMT) |
commit | 8ef18e8525107eac8bc00545d8dafb186f96a227 (patch) | |
tree | d35df73936bed697be6cf9dad2be0eedc229388f /Source/cmake.cxx | |
parent | 43372d5ba34d2a95a886f39a254870c122e98fa2 (diff) | |
download | CMake-8ef18e8525107eac8bc00545d8dafb186f96a227.zip CMake-8ef18e8525107eac8bc00545d8dafb186f96a227.tar.gz CMake-8ef18e8525107eac8bc00545d8dafb186f96a227.tar.bz2 |
Clean a few string conversions
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 638f10e..2656849 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()) { |