Godot Engine – Multi-platform 2D and 3D game engine
Remove unused `_ref(CowData*)` from `CowData`.
Lukas Tenbrinkee9b962c094b
diff --git a/core/templates/cowdata.h b/core/templates/cowdata.hindex d4a3b5ddbe6..12dc840dd84 100644--- a/core/templates/cowdata.h+++ b/core/templates/cowdata.h@@ -123,7 +123,6 @@ private:// Decrements the reference count. Deallocates the backing buffer if needed.// After this function, _ptr is guaranteed to be NULL.void _unref();- void _ref(const CowData *p_from);void _ref(const CowData &p_from);/// Allocates a backing array of the given capacity. The reference count is initialized to 1, size to 0.@@ -533,11 +532,6 @@ Error CowData<T>::_copy_on_write() {return _insert_uninitialized(size(), 0, capacity());}-template <typename T>-void CowData<T>::_ref(const CowData *p_from) {- _ref(*p_from);-}-template <typename T>void CowData<T>::_ref(const CowData &p_from) {if (_ptr == p_from._ptr) {