Minor changes and additions.

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

No files matched your search

+2 -2
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)
{