diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmDefinitions.cxx | 8 | ||||
-rw-r--r-- | Source/cmDefinitions.h | 4 |
2 files changed, 1 insertions, 11 deletions
diff --git a/Source/cmDefinitions.cxx b/Source/cmDefinitions.cxx index a6f46e2..4b0eed4 100644 --- a/Source/cmDefinitions.cxx +++ b/Source/cmDefinitions.cxx @@ -123,14 +123,7 @@ std::set<std::string> cmDefinitions::ClosureKeys() const { std::set<std::string> defined; std::set<std::string> undefined; - this->ClosureKeys(defined, undefined); - return defined; -} -//---------------------------------------------------------------------------- -void cmDefinitions::ClosureKeys(std::set<std::string>& defined, - std::set<std::string>& undefined) const -{ cmDefinitions const* up = this; while (up) @@ -149,4 +142,5 @@ void cmDefinitions::ClosureKeys(std::set<std::string>& defined, } up = up->Up; } + return defined; } diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h index d21ec23..950970b 100644 --- a/Source/cmDefinitions.h +++ b/Source/cmDefinitions.h @@ -86,10 +86,6 @@ private: cmDefinitions(ClosureTag const&, cmDefinitions const* root); void ClosureImpl(std::set<std::string>& undefined, cmDefinitions const* defs); - - // Implementation of ClosureKeys() method. - void ClosureKeys(std::set<std::string>& defined, - std::set<std::string>& undefined) const; }; #endif |