mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
refs #800 Fixed missing virtual destructor on base class.
This commit is contained in:
committed by
Klaus Basan
parent
08ffc57ffa
commit
cb266f0326
@@ -27,7 +27,7 @@ namespace XBus
|
|||||||
CDrawable(XPLMDrawingPhase phase, bool before) : m_phase(phase), m_before(before) {}
|
CDrawable(XPLMDrawingPhase phase, bool before) : m_phase(phase), m_before(before) {}
|
||||||
|
|
||||||
//! Destructor.
|
//! Destructor.
|
||||||
~CDrawable() { hide(); }
|
virtual ~CDrawable() { hide(); }
|
||||||
|
|
||||||
//! Register the draw callback.
|
//! Register the draw callback.
|
||||||
virtual void show()
|
virtual void show()
|
||||||
|
|||||||
Reference in New Issue
Block a user