Added trivial bodies for assignment operators.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@806 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
cc0392d433
commit
6050c23d24
1 changed files with 4 additions and 2 deletions
|
@ -567,7 +567,8 @@ namespace Loki
|
|||
protected:
|
||||
inline SmallObjectBase( void ) {}
|
||||
inline SmallObjectBase( const SmallObjectBase & ) {}
|
||||
inline SmallObjectBase & operator = ( const SmallObjectBase & ) {}
|
||||
inline SmallObjectBase & operator = ( const SmallObjectBase & )
|
||||
{ return *this; }
|
||||
inline ~SmallObjectBase() {}
|
||||
}; // end class SmallObjectBase
|
||||
|
||||
|
@ -632,7 +633,8 @@ namespace Loki
|
|||
protected:
|
||||
inline SmallValueObject( void ) {}
|
||||
inline SmallValueObject( const SmallValueObject & ) {}
|
||||
inline SmallValueObject & operator = ( const SmallValueObject & ) {}
|
||||
inline SmallValueObject & operator = ( const SmallValueObject & )
|
||||
{ return *this; }
|
||||
inline ~SmallValueObject() {}
|
||||
}; // end class SmallValueObject
|
||||
|
||||
|
|
Loading…
Reference in a new issue