mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix some issues found by clang sanitizers.
This commit is contained in:
parent
c5f9424fbd
commit
947d7c8329
2 changed files with 4 additions and 4 deletions
|
|
@ -214,7 +214,7 @@ public:
|
|||
|
||||
private:
|
||||
PropertyInfo _gen_return_type_info() const {
|
||||
return reinterpret_cast<const Derived *>(this)->_gen_return_type_info_impl();
|
||||
return Derived::_gen_return_type_info_impl();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -237,7 +237,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
PropertyInfo _gen_return_type_info_impl() const {
|
||||
static PropertyInfo _gen_return_type_info_impl() {
|
||||
return {};
|
||||
}
|
||||
};
|
||||
|
|
@ -267,7 +267,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
PropertyInfo _gen_return_type_info_impl() const {
|
||||
static PropertyInfo _gen_return_type_info_impl() {
|
||||
return GetTypeInfo<R>::get_class_info();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue