mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
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…
Add table
Add a link
Reference in a new issue