summaryrefslogtreecommitdiffstats
path: root/Source/cmDefinitions.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDefinitions.h')
-rw-r--r--Source/cmDefinitions.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h
index a2f053f..83cd0d9 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; }
@@ -41,7 +38,7 @@ public:
const char* Get(const std::string& key);
/** Set (or unset if null) a value associated with a key. */
- const char* Set(const std::string& key, const char* value);
+ void Set(const std::string& key, const char* value);
/** Get the set of all local keys. */
std::set<std::string> LocalKeys() const;
@@ -81,7 +78,6 @@ private:
// Internal query and update methods.
Def const& GetInternal(const std::string& key);
- Def const& SetInternal(const std::string& key, Def const& def);
// Implementation of Closure() method.
struct ClosureTag {};