# HG changeset patch # User mas01mc # Date 1231593876 0 # Node ID 7b24f2b423cc1030b3d2bf26b0f50e33b7c42c1b # Parent bf54b8fa7d897c652533f05f77557bf937a66797 added virtual keyword to destructors in lshlib.h (for future use) diff -r bf54b8fa7d89 -r 7b24f2b423cc lshlib.h --- a/lshlib.h Sat Jan 10 13:23:41 2009 +0000 +++ b/lshlib.h Sat Jan 10 13:24:36 2009 +0000 @@ -244,7 +244,7 @@ H(); H(Uns32T k, Uns32T m, Uns32T d, Uns32T N, Uns32T C, float w, float r); - ~H(); + virtual ~H(); float get_w(){return w;} float get_radius(){return radius;} @@ -341,7 +341,7 @@ public: G(char* lshFile, bool lshInCore = false); // unserialize constructor G(float w, Uns32T k,Uns32T m, Uns32T d, Uns32T N, Uns32T C, float r); // core constructor - ~G(); + virtual ~G(); Uns32T insert_point(vector&, Uns32T pointID); void insert_point_set(vector >& vv, Uns32T basePointID);