Lasse Öörni 13 роки тому
батько
коміт
2d69778c48
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      Engine/Container/ArrayPtr.h

+ 1 - 1
Engine/Container/ArrayPtr.h

@@ -326,7 +326,7 @@ public:
     operator T* () const { return Get(); }
     
     /// Reset to null and release the weak reference.
-    void Reset() { Release(); }
+    void Reset() { ReleaseRef(); }
     
     /// Perform a static cast from a weak array pointer of another type.
     template <class U> void StaticCast(const WeakArrayPtr<U>& rhs)