autopilot: Introduce virtual dtor.
Introduce a virtual destructor to make deleting FunctorBase instances ComponentForge::~ComponentForge work reliable.
This commit is contained in:
parent
a131589a6c
commit
86e61cfd78
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ namespace FGXMLAutopilot {
|
|||
|
||||
template <class TBase> class FunctorBase {
|
||||
public:
|
||||
virtual ~FunctorBase() {}
|
||||
virtual TBase * operator()( SGPropertyNode_ptr configNode ) = 0;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue