Skip to content

Commit

Permalink
more on adding the custom weak ptr template (unused yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Jan 5, 2025
1 parent 6ce9883 commit 1872fa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions newton-4.00/sdk/dCore/ndWeakPtr.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ class ndWeakPtr: public ndSharedPtr<T>

template <typename T>
ndWeakPtr<T>::ndWeakPtr()
:ndSharedPtr()
:ndSharedPtr<T>()
{
ndAssert(0);
ndAssert(m_references);
}

template <typename T>
ndWeakPtr<T>::ndWeakPtr(const ndWeakPtr<T>& other)
:ndSharedPtr(other)
:ndSharedPtr<T>(other)
{
ndAssert(0);
ndAssert(m_references);
Expand All @@ -45,7 +45,7 @@ ndWeakPtr<T>::ndWeakPtr(const ndWeakPtr<T>& other)

template <typename T>
ndWeakPtr<T>::ndWeakPtr(const ndSharedPtr<T>& ptr)
:ndSharedPtr(ptr)
:ndSharedPtr<T>(ptr)
{
ndAssert(0);
ndAssert(m_references);
Expand Down

0 comments on commit 1872fa1

Please sign in to comment.