summaryrefslogtreecommitdiff
path: root/core/dictionary.h
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2018-08-14 19:19:05 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2018-08-14 19:19:05 +0200
commit21d285e30fac8753bf2e1422054907d6b9c21150 (patch)
treee9437b2ae07f068eaa7fc22cdb207fe91d4adb1e /core/dictionary.h
parenta71a5fc0c3f5d487d3f18c3b9e9a768052795e86 (diff)
Dictionary: remove erase_checked(key), make erase(key) return bool
Diffstat (limited to 'core/dictionary.h')
-rw-r--r--core/dictionary.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/dictionary.h b/core/dictionary.h
index 00ec67fb99..dbf2233819 100644
--- a/core/dictionary.h
+++ b/core/dictionary.h
@@ -65,8 +65,7 @@ public:
bool has(const Variant &p_key) const;
bool has_all(const Array &p_keys) const;
- void erase(const Variant &p_key);
- bool erase_checked(const Variant &p_key);
+ bool erase(const Variant &p_key);
bool operator==(const Dictionary &p_dictionary) const;