summaryrefslogtreecommitdiff
path: root/core/dictionary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/dictionary.cpp')
-rw-r--r--core/dictionary.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/core/dictionary.cpp b/core/dictionary.cpp
index 1fe45aff94..bb2e892951 100644
--- a/core/dictionary.cpp
+++ b/core/dictionary.cpp
@@ -3,7 +3,7 @@
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
-/* http://www.godotengine.org */
+/* https://godotengine.org */
/*************************************************************************/
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
@@ -200,17 +200,6 @@ uint32_t Dictionary::hash() const {
Array Dictionary::keys() const {
-#if 0
- Array karr;
- karr.resize(size());
- const Variant *K = NULL;
- int idx = 0;
- while ((K = next(K))) {
- karr[idx++] = (*K);
- }
- return karr;
-#else
-
Array varr;
varr.resize(size());
if (_p->variant_map.empty())
@@ -228,7 +217,6 @@ Array Dictionary::keys() const {
}
return varr;
-#endif
}
Array Dictionary::values() const {