From 77206baf56e6feb111f54678038307ac216128d5 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 30 Jul 2015 13:07:33 -0400 Subject: Whitespace checkin --- smartptr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'smartptr.h') diff --git a/smartptr.h b/smartptr.h index 20efd815..e05a15f1 100644 --- a/smartptr.h +++ b/smartptr.h @@ -114,7 +114,7 @@ public: template value_ptr& value_ptr::operator=(const value_ptr& 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 clonable_ptr& clonable_ptr::operator=(const clonable_ptr& 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 T* counted_ptr::get() template counted_ptr & counted_ptr::operator=(const counted_ptr& rhs) { - if(this == &rhs) { return *this; } + if (this == &rhs) { return *this; } if (m_p != rhs.m_p) { -- cgit v1.2.1