cmDefinitions: Remove unused method.

This commit is contained in:
Stephen Kelly 2015-04-25 15:59:25 +02:00
parent f0673c1022
commit b9f4dd39bb
2 changed files with 0 additions and 10 deletions

View File

@ -20,13 +20,6 @@ cmDefinitions::cmDefinitions(cmDefinitions* parent)
{ {
} }
//----------------------------------------------------------------------------
void cmDefinitions::Reset(cmDefinitions* parent)
{
this->Up = parent;
this->Map.clear();
}
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
cmDefinitions::Def const& cmDefinitions::Def const&
cmDefinitions::GetInternal(const std::string& key) cmDefinitions::GetInternal(const std::string& key)

View File

@ -30,9 +30,6 @@ public:
/** Construct with the given parent scope. */ /** Construct with the given parent scope. */
cmDefinitions(cmDefinitions* parent = 0); cmDefinitions(cmDefinitions* parent = 0);
/** Reset object as if newly constructed. */
void Reset(cmDefinitions* parent = 0);
/** Returns the parent scope, if any. */ /** Returns the parent scope, if any. */
cmDefinitions* GetParent() const { return this->Up; } cmDefinitions* GetParent() const { return this->Up; }