diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-30 13:07:33 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-30 13:07:33 -0400 |
commit | 77206baf56e6feb111f54678038307ac216128d5 (patch) | |
tree | 54f85d3fd471860a2d533a7acb30a1d9cb4d6897 /smartptr.h | |
parent | 7ad12ab5b05eb2ee595e8900a5d2d101740c7a94 (diff) | |
download | cryptopp-git-77206baf56e6feb111f54678038307ac216128d5.tar.gz |
Whitespace checkin
Diffstat (limited to 'smartptr.h')
-rw-r--r-- | smartptr.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -114,7 +114,7 @@ public: template <class T> value_ptr<T>& value_ptr<T>::operator=(const value_ptr<T>& rhs) { - if(this != &rhs) + if (this != &rhs) { T *old_p = this->m_p; this->m_p = rhs.m_p ? new T(*rhs.m_p) : NULL; @@ -138,7 +138,7 @@ public: template <class T> clonable_ptr<T>& clonable_ptr<T>::operator=(const clonable_ptr<T>& rhs) { - if(this != &rhs) + if (this != &rhs) { T *old_p = this->m_p; this->m_p = rhs.m_p ? rhs.m_p->Clone() : NULL; @@ -225,7 +225,7 @@ template <class T> T* counted_ptr<T>::get() template <class T> counted_ptr<T> & counted_ptr<T>::operator=(const counted_ptr<T>& rhs) { - if(this == &rhs) { return *this; } + if (this == &rhs) { return *this; } if (m_p != rhs.m_p) { |