From 894874fe75ce079ad57e9d5e19813193b129152d Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 10 Sep 2016 04:57:48 -0400 Subject: Whitespace checkin --- smartptr.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'smartptr.h') diff --git a/smartptr.h b/smartptr.h index 8bb32bc0..1d08bf2d 100644 --- a/smartptr.h +++ b/smartptr.h @@ -57,7 +57,7 @@ public: T *old_p = m_p; *((volatile T**)&m_p) = NULL; return old_p; - } + } void reset(T *p = 0); @@ -74,7 +74,7 @@ template void member_ptr::reset(T *p) {delete m_p; m_p = p;} // ******************************************************** //! \class value_ptr -//! \brief Value pointer +//! \brief Value pointer //! \tparam T class or type template class value_ptr : public member_ptr { @@ -158,7 +158,7 @@ private: }; template counted_ptr::counted_ptr(T *p) - : m_p(p) + : m_p(p) { if (m_p) m_p->m_referenceCount = 1; @@ -252,7 +252,7 @@ public: this->m_size = newSize; this->m_ptr = newPtr; } - + #ifdef __BORLANDC__ operator T *() const {return (T*)m_ptr;} -- cgit v1.2.1