From 4dc717ea07915124b0250e23e98063f712f1c038 Mon Sep 17 00:00:00 2001 From: Hanif A Date: Fri, 19 Jul 2019 21:52:30 -0400 Subject: [PATCH] Make comparison operator== const `operator==` of EditorAutoloadSettings is not const for whatever reason... --- editor/editor_autoload_settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_autoload_settings.h b/editor/editor_autoload_settings.h index 76ce020d8a8..1ea2950df47 100644 --- a/editor/editor_autoload_settings.h +++ b/editor/editor_autoload_settings.h @@ -56,7 +56,7 @@ class EditorAutoloadSettings : public VBoxContainer { int order; Node *node; - bool operator==(const AutoLoadInfo &p_info) { + bool operator==(const AutoLoadInfo &p_info) const { return order == p_info.order; }