From 7a5039fa6c0d84d1f4062211afcf0318db77f325 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 1 May 2015 19:35:47 +0200 Subject: [PATCH] cmDefinitions: Use static member without this->. --- Source/cmDefinitions.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);