diff --git a/indra/aistatemachine/aistatemachinethread.h b/indra/aistatemachine/aistatemachinethread.h index 9ffd158e7..4d774de17 100644 --- a/indra/aistatemachine/aistatemachinethread.h +++ b/indra/aistatemachine/aistatemachinethread.h @@ -158,6 +158,9 @@ class AIThreadImpl { public: char const* getName(void) const { return mName; } #endif + + protected: + virtual ~AIThreadImpl() { } }; // The base class for statemachine threads.