From b9f4dd39bb3878ef1fbb0b5b6bc23bab5425584d Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 25 Apr 2015 15:59:25 +0200 Subject: [PATCH] cmDefinitions: Remove unused method. --- Source/cmDefinitions.cxx | 7 ------- Source/cmDefinitions.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/Source/cmDefinitions.cxx b/Source/cmDefinitions.cxx index fe32dd5d8..6a276596d 100644 --- a/Source/cmDefinitions.cxx +++ b/Source/cmDefinitions.cxx @@ -20,13 +20,6 @@ cmDefinitions::cmDefinitions(cmDefinitions* parent) { } -//---------------------------------------------------------------------------- -void cmDefinitions::Reset(cmDefinitions* parent) -{ - this->Up = parent; - this->Map.clear(); -} - //---------------------------------------------------------------------------- cmDefinitions::Def const& cmDefinitions::GetInternal(const std::string& key) diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h index a2f053fda..ab588eee2 100644 --- a/Source/cmDefinitions.h +++ b/Source/cmDefinitions.h @@ -30,9 +30,6 @@ public: /** Construct with the given parent scope. */ cmDefinitions(cmDefinitions* parent = 0); - /** Reset object as if newly constructed. */ - void Reset(cmDefinitions* parent = 0); - /** Returns the parent scope, if any. */ cmDefinitions* GetParent() const { return this->Up; }