diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-05 08:28:34 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-06 15:58:55 (GMT) |
commit | 9ada4c04335fc070f3f670df72bd9943eabec464 (patch) | |
tree | 42f6a6254608314b4052ba3ad0cc86a756ecbf4d /Source/cmExtraEclipseCDT4Generator.cxx | |
parent | 1fe7f24c2b62734d501427750586d8063149ea58 (diff) | |
download | CMake-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/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index 810ec57..0d32e4b 100644 --- a/Source/cmExtraEclipseCDT4Generator.cxx +++ b/Source/cmExtraEclipseCDT4Generator.cxx @@ -205,7 +205,7 @@ void cmExtraEclipseCDT4Generator::AddEnvVar(cmGeneratedFileStream& fout, std::string cacheEntryName = "CMAKE_ECLIPSE_ENVVAR_"; cacheEntryName += envVar; - const char* cacheValue = mf->GetCacheManager()->GetCacheValue( + const char* cacheValue = mf->GetCacheManager()->GetInitializedCacheValue( cacheEntryName); // now we have both, decide which one to use |