mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +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) {}
|
||||
|
||||
//! Destructor.
|
||||
~CDrawable() { hide(); }
|
||||
virtual ~CDrawable() { hide(); }
|
||||
|
||||
//! Register the draw callback.
|
||||
virtual void show()
|
||||
|
||||
Reference in New Issue
Block a user