diff --git a/internal/platform/implementation/linux/bluez.h b/internal/platform/implementation/linux/bluez.h index 4a10cbfe..55a3d02f 100644 --- a/internal/platform/implementation/linux/bluez.h +++ b/internal/platform/implementation/linux/bluez.h @@ -67,14 +67,14 @@ class BluezObjectManager : ProxyInterfaces(system_bus, "org.bluez", "/") { registerProxy(); } - ~BluezObjectManager() { unregisterProxy(); } + virtual ~BluezObjectManager() { unregisterProxy(); } protected: - void onInterfacesAdded( + void onInterfacesAdded( const sdbus::ObjectPath &objectPath, const std::map> &interfacesAndProperties) override {} - void onInterfacesRemoved( + void onInterfacesRemoved( const sdbus::ObjectPath &objectPath, const std::vector &interfaces) override {} };