summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentParserHelper.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-05 08:28:34 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-06 15:58:55 (GMT)
commit9ada4c04335fc070f3f670df72bd9943eabec464 (patch)
tree42f6a6254608314b4052ba3ad0cc86a756ecbf4d /Source/cmCommandArgumentParserHelper.cxx
parent1fe7f24c2b62734d501427750586d8063149ea58 (diff)
downloadCMake-9ada4c04335fc070f3f670df72bd9943eabec464.zip
CMake-9ada4c04335fc070f3f670df72bd9943eabec464.tar.gz
CMake-9ada4c04335fc070f3f670df72bd9943eabec464.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.cxx3
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)
{