diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-09-10 04:57:48 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-10 04:57:48 -0400 |
commit | 894874fe75ce079ad57e9d5e19813193b129152d (patch) | |
tree | fae5a8307351b8200238038f05a32f7e91e8006e /smartptr.h | |
parent | 4414b864cf69edc7e142c96fdca53bfa898de539 (diff) | |
download | cryptopp-git-894874fe75ce079ad57e9d5e19813193b129152d.tar.gz |
Whitespace checkin
Diffstat (limited to 'smartptr.h')
-rw-r--r-- | smartptr.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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;}
|