summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBartłomiej T. Listwon <blistwon@gmail.com>2021-04-14 11:43:45 +0200
committerBartłomiej T. Listwon <blistwon@gmail.com>2021-04-14 11:43:45 +0200
commit1eaaf2f9a2811ffaca7ac914d26a3cac6a5e42e7 (patch)
tree66868319797d47607dce971c6d70194cb73fd1d1 /core
parent33333f168131a5a328ca8669858ff531349d7667 (diff)
Separate set.h from map.h
Diffstat (limited to 'core')
-rw-r--r--core/io/file_access_pack.h1
-rw-r--r--core/templates/map.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/core/io/file_access_pack.h b/core/io/file_access_pack.h
index 343adbe592..955108f455 100644
--- a/core/io/file_access_pack.h
+++ b/core/io/file_access_pack.h
@@ -36,6 +36,7 @@
#include "core/string/print_string.h"
#include "core/templates/list.h"
#include "core/templates/map.h"
+#include "core/templates/set.h"
// Godot's packed file magic header ("GDPC" in ASCII).
#define PACK_HEADER_MAGIC 0x43504447
diff --git a/core/templates/map.h b/core/templates/map.h
index 51a237472d..7dfee13d2c 100644
--- a/core/templates/map.h
+++ b/core/templates/map.h
@@ -32,7 +32,7 @@
#define MAP_H
#include "core/error/error_macros.h"
-#include "core/templates/set.h"
+#include "core/os/memory.h"
// based on the very nice implementation of rb-trees by:
// https://web.archive.org/web/20120507164830/http://web.mit.edu/~emin/www/source_code/red_black_tree/index.html