In btGIMPACTMeshShape.h, we have following class definition:
Code: Select all
class BT_GIMPACT_TRIMESH_DATA_HANDLE_ARRAY: public btAlignedObjectArray<BT_GIMPACT_TRIMESH_DATA_HANDLE>
{
public:
};
is not virtual.
Usually it does not matter since we seldom use base class pointer for
a derived container class object, but it is better add the virtual destructor
or simply replace above class definition with a typedef:
Code: Select all
typedef btAlignedObjectArray<BT_GIMPACT_TRIMESH_DATA_HANDLE>
BT_GIMPACT_TRIMESH_DATA_HANDLE_ARRAY;