diff options
author | Hanif A <hanif.ariffin.4326@gmail.com> | 2019-07-19 21:52:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-19 21:52:30 -0400 |
commit | 4dc717ea07915124b0250e23e98063f712f1c038 (patch) | |
tree | f12eabaa1dcbba72c94d802b543faa3bc6019573 | |
parent | e44041ae41c6b76678f52f772abb5e4834ed40a1 (diff) |
Make comparison operator== const
`operator==` of EditorAutoloadSettings is not const for whatever reason...
-rw-r--r-- | editor/editor_autoload_settings.h | 2 |
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; } |