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
1 changed files with 1 additions and 1 deletions

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