From 5293043e54bf90c62ed502454248cf4bfc19017d Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Fri, 21 Nov 2008 19:08:39 +0100 Subject: [PATCH] Silly whitespace fix. --- tools/include/refcount.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/tools/include/refcount.h b/tools/include/refcount.h index d9bdeb48..2860112d 100644 --- a/tools/include/refcount.h +++ b/tools/include/refcount.h @@ -75,7 +75,7 @@ class RefCountPtr const T& operator * ( ) const; T& operator * (); const T * operator -> ( ) const; - T * operator -> ( ); + T * operator -> ( ); bool operator == ( const RefCountPtr& o2 ) const; bool operator != ( const RefCountPtr& o2 ) const; bool operator == ( const NullPtr& theNull ) const; @@ -248,24 +248,21 @@ template template RefCountPtr RefCountPtr::hard_cast( ) { - RefCountPtr< S > res( reinterpret_cast< S * >( ptr ), refCount ); - return res; + return RefCountPtr< S >( reinterpret_cast< S * >( ptr ), refCount ); } template template RefCountPtr RefCountPtr::hard_cast( ) const { - RefCountPtr< S > res( reinterpret_cast< S * >( ptr ), refCount ); - return res; + return RefCountPtr< S >( reinterpret_cast< S * >( ptr ), refCount ); } template template RefCountPtr RefCountPtr::unconst_cast( ) const { - RefCountPtr< S > res( const_cast< S * >( ptr ), refCount ); - return res; + return RefCountPtr< S >( const_cast< S * >( ptr ), refCount ); } -- 2.11.4.GIT