summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-26 14:22:52 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-30 21:34:01 (GMT)
commit30a021cc224d420725bd7e88277cc3cca7c67ae4 (patch)
treec4f1f73b0d20a1011520daa9c5dc9c6f9682863a
parent5e35d4a67f347cd1e4bb66dc225385ce4e8b1f5a (diff)
downloadCMake-30a021cc224d420725bd7e88277cc3cca7c67ae4.zip
CMake-30a021cc224d420725bd7e88277cc3cca7c67ae4.tar.gz
CMake-30a021cc224d420725bd7e88277cc3cca7c67ae4.tar.bz2
cmMakefile: Implement RaiseScope in terms of local Get method.
The cmDefinitions::Get will change behavior in follow up commits.
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index bd42f4e..4bbd5f1 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -121,7 +121,7 @@ public:
if(cmDefinitions* up = cur.GetParent())
{
// First localize the definition in the current scope.
- cur.Get(var);
+ this->GetDefinition(var);
// Now update the definition in the parent scope.
up->Set(var, varDef);