aboutsummaryrefslogtreecommitdiff
path: root/core/res_ptr.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-03-09 00:14:08 +0100
committerRémi Verschelde2016-03-09 00:14:08 +0100
commite46e43d2aaa6339a1675eb989f41885e745bf5c3 (patch)
treecf91f2869ff8f058c6682569fb31e22e5ee736ad /core/res_ptr.cpp
parent1dad6eca812e5c2e313b54265114de8a1d73d999 (diff)
parent4a4f2479146aa33e235ed57cde311efda68d3c8f (diff)
downloadgodot-e46e43d2aaa6339a1675eb989f41885e745bf5c3.tar.gz
godot-e46e43d2aaa6339a1675eb989f41885e745bf5c3.tar.zst
godot-e46e43d2aaa6339a1675eb989f41885e745bf5c3.zip
Merge pull request #3928 from Marqin/whitespace
remove trailing whitespace - sorry for the broken PRs, please rebase :)
Diffstat (limited to '')
-rw-r--r--core/res_ptr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/res_ptr.cpp b/core/res_ptr.cpp
index 11312b802..2fada627e 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;
}