Add virtual destructor to dtQueryFilter

This commit is contained in:
Janiels 2014-06-14 15:45:36 +02:00
parent 89233e807d
commit 943bf35d32

View File

@ -41,6 +41,10 @@ class dtQueryFilter
public:
dtQueryFilter();
#ifdef DT_VIRTUAL_QUERYFILTER
virtual ~dtQueryFilter() { }
#endif
/// Returns true if the polygon can be visited. (I.e. Is traversable.)
/// @param[in] ref The reference id of the polygon test.
/// @param[in] tile The tile containing the polygon.