Make comparison operator== const
`operator==` of EditorAutoloadSettings is not const for whatever reason...
This commit is contained in:
parent
e44041ae41
commit
4dc717ea07
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue