summaryrefslogtreecommitdiffstats
path: root/src/device-manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/device-manager.cpp')
-rw-r--r--src/device-manager.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/device-manager.cpp b/src/device-manager.cpp
index cbc67238e..da85860c2 100644
--- a/src/device-manager.cpp
+++ b/src/device-manager.cpp
@@ -163,12 +163,12 @@ InputDevice::InputDevice()
: Glib::Object()
{}
-InputDevice::~InputDevice() {}
+InputDevice::~InputDevice() = default;
class InputDeviceImpl : public InputDevice {
public:
InputDeviceImpl(Glib::RefPtr<Gdk::Device> device, std::set<Glib::ustring> &knownIDs);
- ~InputDeviceImpl() override {}
+ ~InputDeviceImpl() override = default;
Glib::ustring getId() const override {return id;}
Glib::ustring getName() const override {return name;}
@@ -611,8 +611,7 @@ DeviceManager::DeviceManager()
{
}
-DeviceManager::~DeviceManager() {
-}
+DeviceManager::~DeviceManager() = default;
DeviceManager& DeviceManager::getManager() {
if ( !theInstance ) {