Make comparison operator== const

`operator==` of EditorAutoloadSettings is not const for whatever reason...
This commit is contained in:
Hanif A 2019-07-19 21:52:30 -04:00 committed by GitHub
parent e44041ae41
commit 4dc717ea07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}