aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde2017-01-15 12:51:47 +0100
committerRémi Verschelde2017-03-19 00:32:58 +0100
commitd4e0be7632b83439520db2f3c7486fe2ff584702 (patch)
treeb849b94a61a856078bd195538a0f872f92524fe9
parent2664549916e377bbe82185a2cc38025b906aed3b (diff)
downloadgodot-d4e0be7632b83439520db2f3c7486fe2ff584702.tar.gz
godot-d4e0be7632b83439520db2f3c7486fe2ff584702.tar.zst
godot-d4e0be7632b83439520db2f3c7486fe2ff584702.zip
Add missing map.h include in color defs
(cherry picked from commit 5e13a762ecbdfe6a643977b74c790d479a0636e2)
-rw-r--r--core/color_names.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/color_names.inc b/core/color_names.inc
index 7b674bb28..b05684acc 100644
--- a/core/color_names.inc
+++ b/core/color_names.inc
@@ -1,4 +1,6 @@
// Names from https://en.wikipedia.org/wiki/List_of_colors (through https://raw.githubusercontent.com/SuperUserNameMan/color_to_name/616a7cddafefda91478b7bc26167de97fb5badb1/godot_version.gd), slightly edited and normalized
+#include "map.h"
+
static Map<String, Color> _named_colors;
static void _populate_named_colors() {
if(!_named_colors.empty()) return;