* Fixed "missing virtual constructor" warning (which is probably even a

correct warning) for AbstractPointerListHelper. (libbe_build.so)
* I have had problems with implementing virtual functions inline in the
  class declaration before, so I implemented the virtual destructor
  externally.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24168 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-02-28 14:39:19 +00:00
parent 37950dd1d2
commit 43361fc860
2 changed files with 14 additions and 1 deletions

View File

@ -71,6 +71,7 @@ struct comparator;
class AbstractPointerListHelper {
public:
AbstractPointerListHelper() {};
virtual ~AbstractPointerListHelper();
/**
Returns the index of the item that matches key or
@ -136,6 +137,12 @@ struct comparator : public binary_function<const void*, const void*, bool>
};
#endif
AbstractPointerListHelper::~AbstractPointerListHelper()
{
}
void
AbstractPointerListHelper::Swap(void **items, int32 i, int32 j)
{

View File

@ -72,7 +72,7 @@ struct comparator;
class AbstractPointerListHelper {
public:
AbstractPointerListHelper() {};
virtual ~AbstractPointerListHelper() {};
virtual ~AbstractPointerListHelper();
/**
Returns the index of the item that matches key or
@ -138,6 +138,12 @@ struct comparator : public binary_function<const void*, const void*, bool>
};
#endif
AbstractPointerListHelper::~AbstractPointerListHelper()
{
}
void
AbstractPointerListHelper::Swap(void **items, int32 i, int32 j)
{