summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHanif A <hanif.ariffin.4326@gmail.com>2019-07-19 21:52:30 -0400
committerGitHub <noreply@github.com>2019-07-19 21:52:30 -0400
commit4dc717ea07915124b0250e23e98063f712f1c038 (patch)
treef12eabaa1dcbba72c94d802b543faa3bc6019573 /editor
parente44041ae41c6b76678f52f772abb5e4834ed40a1 (diff)
Make comparison operator== const
`operator==` of EditorAutoloadSettings is not const for whatever reason...
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_autoload_settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_autoload_settings.h b/editor/editor_autoload_settings.h
index 76ce020d8a..1ea2950df4 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;
}