diff options
Diffstat (limited to 'intern/memutil/MEM_SmartPtr.h')
-rw-r--r-- | intern/memutil/MEM_SmartPtr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/memutil/MEM_SmartPtr.h b/intern/memutil/MEM_SmartPtr.h index 722a0a8fd3b..09cf5c95854 100644 --- a/intern/memutil/MEM_SmartPtr.h +++ b/intern/memutil/MEM_SmartPtr.h @@ -86,7 +86,7 @@ * private : * MEM_SmartPtr<foo> m_foo; * } - * + * * You may also safely construct vectors of MEM_SmartPtrs and * have the vector own stuff you put into it. * @@ -167,7 +167,7 @@ public : Ref( ) const { return *m_val; - } + } /** * Assignment operator - ownership is transfered from rhs to lhs. @@ -207,7 +207,7 @@ public : Release( ) const { T* temp = m_val; - (const_cast<MEM_SmartPtr *>(this))->m_val = NULL; + (const_cast<MEM_SmartPtr *>(this))->m_val = NULL; return temp; } |