summaryrefslogtreecommitdiff
path: root/smartptr.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-10 04:57:48 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-10 04:57:48 -0400
commit894874fe75ce079ad57e9d5e19813193b129152d (patch)
treefae5a8307351b8200238038f05a32f7e91e8006e /smartptr.h
parent4414b864cf69edc7e142c96fdca53bfa898de539 (diff)
downloadcryptopp-git-894874fe75ce079ad57e9d5e19813193b129152d.tar.gz
Whitespace checkin
Diffstat (limited to 'smartptr.h')
-rw-r--r--smartptr.h8
1 files changed, 4 insertions, 4 deletions
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 <class T> void member_ptr<T>::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 T> class value_ptr : public member_ptr<T>
{
@@ -158,7 +158,7 @@ private:
};
template <class T> counted_ptr<T>::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;}