fix some warning, need virtual destructor

This commit is contained in:
ejcoumans
2007-10-14 00:12:22 +00:00
parent 1a926dac9c
commit 913b141c23

View File

@@ -55,7 +55,7 @@ extern int gRemovePairs;
extern int gAddedPairs; extern int gAddedPairs;
extern int gFindPairs; extern int gFindPairs;
#define BT_NULL_PAIR 0xffffffff const int BT_NULL_PAIR=0xffffffff;
class btOverlappingPairCache class btOverlappingPairCache
{ {
@@ -64,10 +64,9 @@ class btOverlappingPairCache
bool m_blockedForChanges; bool m_blockedForChanges;
public: public:
btOverlappingPairCache(); btOverlappingPairCache();
~btOverlappingPairCache(); virtual ~btOverlappingPairCache();
void removeOverlappingPairsContainingProxy(btBroadphaseProxy* proxy,btDispatcher* dispatcher); void removeOverlappingPairsContainingProxy(btBroadphaseProxy* proxy,btDispatcher* dispatcher);