diff --git a/src/build/libbe/support/PointerList.cpp b/src/build/libbe/support/PointerList.cpp index 90a5e0a687..d909b829a0 100644 --- a/src/build/libbe/support/PointerList.cpp +++ b/src/build/libbe/support/PointerList.cpp @@ -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 }; #endif + +AbstractPointerListHelper::~AbstractPointerListHelper() +{ +} + + void AbstractPointerListHelper::Swap(void **items, int32 i, int32 j) { diff --git a/src/kits/support/PointerList.cpp b/src/kits/support/PointerList.cpp index 4f78bb0361..44ead0ac6a 100644 --- a/src/kits/support/PointerList.cpp +++ b/src/kits/support/PointerList.cpp @@ -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 }; #endif + +AbstractPointerListHelper::~AbstractPointerListHelper() +{ +} + + void AbstractPointerListHelper::Swap(void **items, int32 i, int32 j) {