diff options
| author | Juan Linietsky | 2017-01-11 08:53:31 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-11 08:54:17 -0300 |
| commit | e6583117df95373cffb12105de82d3816ca09f85 (patch) | |
| tree | 9953c32a4b50db9cc99d0999c7904a27748a0ace /core/variant.cpp | |
| parent | 57166cd2923cc6d32b37c34f6ca2f32f6941e4a8 (diff) | |
| download | godot-e6583117df95373cffb12105de82d3816ca09f85.tar.gz godot-e6583117df95373cffb12105de82d3816ca09f85.tar.zst godot-e6583117df95373cffb12105de82d3816ca09f85.zip | |
Diffstat (limited to 'core/variant.cpp')
| -rw-r--r-- | core/variant.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/variant.cpp b/core/variant.cpp index 4ab46edf7..5a670a278 100644 --- a/core/variant.cpp +++ b/core/variant.cpp @@ -2985,8 +2985,8 @@ bool Variant::is_shared() const { switch(type) { case OBJECT: return true; - case ARRAY: return reinterpret_cast<const Array*>(_data._mem)->is_shared(); - case DICTIONARY: return reinterpret_cast<const Dictionary*>(_data._mem)->is_shared(); + case ARRAY: return true; + case DICTIONARY: return true; default: {} } |
