diff --git a/Source/cmDefinitions.cxx b/Source/cmDefinitions.cxx index 6e2665665..a429b6d33 100644 --- a/Source/cmDefinitions.cxx +++ b/Source/cmDefinitions.cxx @@ -31,7 +31,7 @@ cmDefinitions::Def const& cmDefinitions::GetInternal( ++rbegin; if(rbegin == rend) { - return this->NoDef; + return cmDefinitions::NoDef; } // Query the parent scope and store the result locally. Def def = rbegin->GetInternal(key, rbegin, rend);