diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-25 13:59:25 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-28 22:17:38 (GMT) |
commit | b9f4dd39bb3878ef1fbb0b5b6bc23bab5425584d (patch) | |
tree | 2058fb022b145f60f086383ce454229df2990b74 | |
parent | f0673c1022afdc9f9d91ea460efc6790b7aa6289 (diff) | |
download | CMake-b9f4dd39bb3878ef1fbb0b5b6bc23bab5425584d.zip CMake-b9f4dd39bb3878ef1fbb0b5b6bc23bab5425584d.tar.gz CMake-b9f4dd39bb3878ef1fbb0b5b6bc23bab5425584d.tar.bz2 |
cmDefinitions: Remove unused method.
-rw-r--r-- | Source/cmDefinitions.cxx | 7 | ||||
-rw-r--r-- | Source/cmDefinitions.h | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmDefinitions.cxx b/Source/cmDefinitions.cxx index fe32dd5..6a27659 100644 --- a/Source/cmDefinitions.cxx +++ b/Source/cmDefinitions.cxx @@ -21,13 +21,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 a2f053f..ab588ee 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; } |