summaryrefslogtreecommitdiff
path: root/smartptr.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-30 13:07:33 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-30 13:07:33 -0400
commit77206baf56e6feb111f54678038307ac216128d5 (patch)
tree54f85d3fd471860a2d533a7acb30a1d9cb4d6897 /smartptr.h
parent7ad12ab5b05eb2ee595e8900a5d2d101740c7a94 (diff)
downloadcryptopp-git-77206baf56e6feb111f54678038307ac216128d5.tar.gz
Whitespace checkin
Diffstat (limited to 'smartptr.h')
-rw-r--r--smartptr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/smartptr.h b/smartptr.h
index 20efd815..e05a15f1 100644
--- a/smartptr.h
+++ b/smartptr.h
@@ -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)
{