aboutsummaryrefslogtreecommitdiff
path: root/core/ordered_hash_map.h
diff options
context:
space:
mode:
authorHein-Pieter van Braam2017-09-07 21:48:50 +0200
committerHein-Pieter van Braam2017-09-08 14:57:48 +0200
commit67a706fc1b9721f3f06eef8be7312f175e2041ce (patch)
treebd0fb17813ac40b1b1e21a1e3a7236b30b7d69bb /core/ordered_hash_map.h
parentd1cb73b47a17de830d9474026ffa7b3587cfbc68 (diff)
downloadgodot-67a706fc1b9721f3f06eef8be7312f175e2041ce.tar.gz
godot-67a706fc1b9721f3f06eef8be7312f175e2041ce.tar.zst
godot-67a706fc1b9721f3f06eef8be7312f175e2041ce.zip
Diffstat (limited to 'core/ordered_hash_map.h')
-rw-r--r--core/ordered_hash_map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/ordered_hash_map.h b/core/ordered_hash_map.h
index 3e619d2b2..9e95f963e 100644
--- a/core/ordered_hash_map.h
+++ b/core/ordered_hash_map.h
@@ -55,8 +55,8 @@ public:
friend class OrderedHashMap<K, V, Hasher, Comparator, MIN_HASH_TABLE_POWER, RELATIONSHIP>;
typename InternalList::Element *list_element;
- typename InternalList::Element *next_element;
typename InternalList::Element *prev_element;
+ typename InternalList::Element *next_element;
Element(typename InternalList::Element *p_element) {
list_element = p_element;
@@ -69,7 +69,7 @@ public:
public:
_FORCE_INLINE_ Element()
- : list_element(NULL), next_element(NULL), prev_element(NULL) {
+ : list_element(NULL), prev_element(NULL), next_element(NULL) {
}
Element next() const {
@@ -312,4 +312,4 @@ bool operator!=(const typename OrderedHashMap<K, V, Hasher, Comparator, MIN_HASH
return (first.list_element != second.list_element);
}
-#endif // ORDERED_HASH_MAP_H \ No newline at end of file
+#endif // ORDERED_HASH_MAP_H