diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-05-01 02:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-04-30 14:45:45 (GMT) |
commit | e267c3fddf68dc27a0e756a5d7f5dc618bf3f7eb (patch) | |
tree | 51253a7d8399e05e48a618aeafd805a985cbb411 /Source/cmCommandArgumentParserHelper.cxx | |
parent | c09efe074d793203ab846e97bde8d03e4714dc2a (diff) | |
download | CMake-e267c3fddf68dc27a0e756a5d7f5dc618bf3f7eb.zip CMake-e267c3fddf68dc27a0e756a5d7f5dc618bf3f7eb.tar.gz CMake-e267c3fddf68dc27a0e756a5d7f5dc618bf3f7eb.tar.bz2 |
cmState::GetInitializedCacheValue: return cmProp
cmProp alias is used; no actual change in type
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.cxx')
-rw-r--r-- | Source/cmCommandArgumentParserHelper.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx index 379836a..0516d26 100644 --- a/Source/cmCommandArgumentParserHelper.cxx +++ b/Source/cmCommandArgumentParserHelper.cxx @@ -69,8 +69,7 @@ const char* cmCommandArgumentParserHelper::ExpandSpecialVariable( return ""; } if (strcmp(key, "CACHE") == 0) { - if (const std::string* c = - this->Makefile->GetState()->GetInitializedCacheValue(var)) { + if (cmProp c = this->Makefile->GetState()->GetInitializedCacheValue(var)) { if (this->EscapeQuotes) { return this->AddString(cmEscapeQuotes(*c)); } |