1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-16 15:17:13 +02:00

Minor changes and additions.

This commit is contained in:
Sandu Liviu Catalin
2020-04-21 06:06:27 +03:00
parent 0af137b96a
commit 65f7852c21
4 changed files with 75 additions and 14 deletions

View File

@ -786,7 +786,7 @@ public:
/// \param ptr Should be the return value from a call to the new operator
///
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
SharedPtr(T* ptr)
explicit SharedPtr(T* ptr)
: m_Ptr(NULL)
, m_Ref(NULL)
{
@ -802,7 +802,7 @@ public:
///
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
template <class U>
SharedPtr(U* ptr)
explicit SharedPtr(U* ptr)
: m_Ptr(NULL)
, m_Ref(NULL)
{