refs #800 Fixed missing virtual destructor on base class.

This commit is contained in:
Mathew Sutcliffe
2016-11-10 00:57:10 +00:00
committed by Klaus Basan
parent 08ffc57ffa
commit cb266f0326

View File

@@ -27,7 +27,7 @@ namespace XBus
CDrawable(XPLMDrawingPhase phase, bool before) : m_phase(phase), m_before(before) {}
//! Destructor.
~CDrawable() { hide(); }
virtual ~CDrawable() { hide(); }
//! Register the draw callback.
virtual void show()