diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-05 08:28:34 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-07 21:25:44 (GMT) |
commit | 77f2807ce56491fab7637327564c7fb1033dadb1 (patch) | |
tree | 0ad85a14e25ec671d1a02674417f98f6692c86d3 /Source/cmCommandArgumentParserHelper.cxx | |
parent | 14973054a2f3954111789cda5e54c2e2e2175521 (diff) | |
download | CMake-77f2807ce56491fab7637327564c7fb1033dadb1.zip CMake-77f2807ce56491fab7637327564c7fb1033dadb1.tar.gz CMake-77f2807ce56491fab7637327564c7fb1033dadb1.tar.bz2 |
cmCacheManager: Rename GetCacheValue to GetInitializedCacheValue.
Being initialized is a requirement for this method to return something,
and is what differentiates it from using GetIterator with it.GetValue.
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.cxx')
-rw-r--r-- | Source/cmCommandArgumentParserHelper.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx index 747b7e4..99bf5f5 100644 --- a/Source/cmCommandArgumentParserHelper.cxx +++ b/Source/cmCommandArgumentParserHelper.cxx @@ -90,7 +90,8 @@ char* cmCommandArgumentParserHelper::ExpandSpecialVariable(const char* key, } if ( strcmp(key, "CACHE") == 0 ) { - if(const char* c = this->Makefile->GetCacheManager()->GetCacheValue(var)) + if(const char* c = this->Makefile->GetCacheManager() + ->GetInitializedCacheValue(var)) { if(this->EscapeQuotes) { |