mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-15 21:15:51 +02:00
Add explicit virtual default destructors
We need to silence the warning about this because Steinberg doesn't declare their base class destructors as virtual (because of Windows ABI compatibility issues). But we can still do it inside of yabridge to have at least a bit more safety.
This commit is contained in:
@@ -57,8 +57,6 @@ HostBridge::HostBridge(MainContext& main_context,
|
||||
parent_pid_(parent_pid),
|
||||
watchdog_guard_(main_context.register_watchdog(*this)) {}
|
||||
|
||||
HostBridge::~HostBridge() noexcept {}
|
||||
|
||||
void HostBridge::handle_events() noexcept {
|
||||
MSG msg;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ class HostBridge {
|
||||
pid_t parent_pid);
|
||||
|
||||
public:
|
||||
virtual ~HostBridge() noexcept;
|
||||
virtual ~HostBridge() noexcept = default;
|
||||
|
||||
/**
|
||||
* If a plugin instance returns `true` here, then the event loop should not
|
||||
|
||||
Reference in New Issue
Block a user