diff options
| author | Ignacio Etcheverry | 2017-08-26 21:41:25 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2017-08-26 21:41:25 +0200 |
| commit | b50a937fe68c8f44fa835ecb6e0c89c4282fd20e (patch) | |
| tree | 4840942dc22711d0b7cdd5b8f5187428126bbd1e /core/object.h | |
| parent | 53c0010932f9c1becb63c16243f3a00ede359989 (diff) | |
| download | godot-b50a937fe68c8f44fa835ecb6e0c89c4282fd20e.tar.gz godot-b50a937fe68c8f44fa835ecb6e0c89c4282fd20e.tar.zst godot-b50a937fe68c8f44fa835ecb6e0c89c4282fd20e.zip | |
Diffstat (limited to 'core/object.h')
| -rw-r--r-- | core/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object.h b/core/object.h index 9eb6cd1d5..746450ef6 100644 --- a/core/object.h +++ b/core/object.h @@ -185,6 +185,7 @@ struct MethodInfo { uint32_t flags; int id; + inline bool operator==(const MethodInfo &p_method) const { return id == p_method.id; } inline bool operator<(const MethodInfo &p_method) const { return id == p_method.id ? (name < p_method.name) : (id < p_method.id); } operator Dictionary() const; |
