mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Add missing initializer_list constructor for TypedDictionary
This commit is contained in:
parent
1f56d96cf2
commit
8a3f9846c5
3 changed files with 35 additions and 0 deletions
|
|
@ -85,6 +85,10 @@ class Ref {
|
|||
|
||||
//virtual RefCounted * get_reference() const { return reference; }
|
||||
public:
|
||||
static _FORCE_INLINE_ String get_class_static() {
|
||||
return T::get_class_static();
|
||||
}
|
||||
|
||||
_FORCE_INLINE_ bool operator==(const T *p_ptr) const {
|
||||
return reference == p_ptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue