Make comparison operator== const
`operator==` of EditorAutoloadSettings is not const for whatever reason...
This commit is contained in:
parent
e44041ae41
commit
4dc717ea07
|
@ -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 New Issue