* 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:
@@ -71,6 +71,7 @@ struct comparator;
|
|||||||
class AbstractPointerListHelper {
|
class AbstractPointerListHelper {
|
||||||
public:
|
public:
|
||||||
AbstractPointerListHelper() {};
|
AbstractPointerListHelper() {};
|
||||||
|
virtual ~AbstractPointerListHelper();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the index of the item that matches key or
|
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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
AbstractPointerListHelper::~AbstractPointerListHelper()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
AbstractPointerListHelper::Swap(void **items, int32 i, int32 j)
|
AbstractPointerListHelper::Swap(void **items, int32 i, int32 j)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ struct comparator;
|
|||||||
class AbstractPointerListHelper {
|
class AbstractPointerListHelper {
|
||||||
public:
|
public:
|
||||||
AbstractPointerListHelper() {};
|
AbstractPointerListHelper() {};
|
||||||
virtual ~AbstractPointerListHelper() {};
|
virtual ~AbstractPointerListHelper();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the index of the item that matches key or
|
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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
AbstractPointerListHelper::~AbstractPointerListHelper()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
AbstractPointerListHelper::Swap(void **items, int32 i, int32 j)
|
AbstractPointerListHelper::Swap(void **items, int32 i, int32 j)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user