gcc needs the template parameter, gcc warns about missing virtual destructor (because there is already a virtual function)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@536 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
059eba4ae1
commit
9a013e8905
1 changed files with 7 additions and 3 deletions
|
@ -60,10 +60,11 @@ namespace Loki
|
||||||
typedef EmptyType Parm15;
|
typedef EmptyType Parm15;
|
||||||
|
|
||||||
inline FunctorImplBase() :
|
inline FunctorImplBase() :
|
||||||
SmallValueObject() {};
|
SmallValueObject<ThreadingModel>() {}
|
||||||
inline FunctorImplBase(const FunctorImplBase&) :
|
inline FunctorImplBase(const FunctorImplBase&) :
|
||||||
SmallValueObject() {};
|
SmallValueObject<ThreadingModel>() {}
|
||||||
|
|
||||||
|
virtual ~FunctorImplBase(){}
|
||||||
virtual FunctorImplBase* DoClone() const = 0;
|
virtual FunctorImplBase* DoClone() const = 0;
|
||||||
template <class U>
|
template <class U>
|
||||||
static U* Clone(U* pObj)
|
static U* Clone(U* pObj)
|
||||||
|
@ -1664,6 +1665,9 @@ namespace Loki
|
||||||
#endif // FUNCTOR_INC_
|
#endif // FUNCTOR_INC_
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.17 2006/02/20 16:08:32 syntheticpp
|
||||||
|
// gcc needs the template parameter, gcc warns about missing virtual destructor (because there is already a virtual function)
|
||||||
|
//
|
||||||
// Revision 1.16 2006/02/18 19:37:40 rich_sposato
|
// Revision 1.16 2006/02/18 19:37:40 rich_sposato
|
||||||
// Added explicit call to base copy-constructor. Changed base class from
|
// Added explicit call to base copy-constructor. Changed base class from
|
||||||
// SmallObject to SmallValueObject.
|
// SmallObject to SmallValueObject.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue