mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 12:06:57 +08:00
Ref T488 Fixed cppcheck warnings.
This commit is contained in:
@@ -30,13 +30,13 @@ namespace XSwiftBus
|
||||
virtual ~CDrawable() { hide(); }
|
||||
|
||||
//! Register the draw callback.
|
||||
virtual void show()
|
||||
void show()
|
||||
{
|
||||
XPLMRegisterDrawCallback(callback, m_phase, m_before, static_cast<void*>(this));
|
||||
}
|
||||
|
||||
//! Unregister the draw callback.
|
||||
virtual void hide()
|
||||
void hide()
|
||||
{
|
||||
XPLMUnregisterDrawCallback(callback, m_phase, m_before, static_cast<void*>(this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user