diff options
Diffstat (limited to 'core/res_ptr.cpp')
-rw-r--r-- | core/res_ptr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/res_ptr.cpp b/core/res_ptr.cpp index 11312b8021..2fada627e7 100644 --- a/core/res_ptr.cpp +++ b/core/res_ptr.cpp @@ -53,7 +53,7 @@ RefPtr::RefPtr(const RefPtr& p_other) { Ref<Resource> *ref = reinterpret_cast<Ref<Resource>*>( &data[0] ); Ref<Resource> *ref_other = reinterpret_cast<Ref<Resource>*>( const_cast<char*>(&p_other.data[0]) ); - + *ref = *ref_other; } |