summaryrefslogtreecommitdiff
path: root/smartptr.h
diff options
context:
space:
mode:
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)
{