diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-28 21:39:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-28 21:39:04 +0200 |
| commit | 40c3c8745df3d08065802762e236beeaa6aa1345 (patch) | |
| tree | 24307e256b9c6cd973e5332b4b5b1959f1a10419 /core/object.h | |
| parent | dea0f69296f248d3294bdf11bd77eba212ce7d6c (diff) | |
| parent | 2091f204432d58f20a642bf9fab83a6d08a65084 (diff) | |
| download | redot-engine-40c3c8745df3d08065802762e236beeaa6aa1345.tar.gz | |
Merge pull request #22516 from akien-mga/fix-warnings
Fix warnings about wrong member initialization order [-Wreorder]
Diffstat (limited to 'core/object.h')
| -rw-r--r-- | core/object.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/object.h b/core/object.h index be405a47a6..0825aac301 100644 --- a/core/object.h +++ b/core/object.h @@ -187,11 +187,11 @@ Array convert_property_list(const List<PropertyInfo> *p_list); struct MethodInfo { String name; - List<PropertyInfo> arguments; - Vector<Variant> default_arguments; PropertyInfo return_val; uint32_t flags; int id; + List<PropertyInfo> arguments; + Vector<Variant> default_arguments; 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); } |
