From ca9fa77d5d34a993073cd5256d65f88cd2e1a28f Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 26 Apr 2015 15:38:09 +0200 Subject: cmDefinitions: Inline GetClosureKeys implementation. --- Source/cmDefinitions.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Source/cmDefinitions.cxx') diff --git a/Source/cmDefinitions.cxx b/Source/cmDefinitions.cxx index a6f46e2ea9..4b0eed4592 100644 --- a/Source/cmDefinitions.cxx +++ b/Source/cmDefinitions.cxx @@ -123,14 +123,7 @@ std::set cmDefinitions::ClosureKeys() const { std::set defined; std::set undefined; - this->ClosureKeys(defined, undefined); - return defined; -} -//---------------------------------------------------------------------------- -void cmDefinitions::ClosureKeys(std::set& defined, - std::set& undefined) const -{ cmDefinitions const* up = this; while (up) @@ -149,4 +142,5 @@ void cmDefinitions::ClosureKeys(std::set& defined, } up = up->Up; } + return defined; } -- cgit v1.2.1