From 4d0a8db06d1bb457ef5130a4f95a02618dcf1c78 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 21 Sep 2018 19:32:47 +0000 Subject: device: fix warnings about overridden functions --- src/device/device_default.hpp | 2 +- src/device/device_ledger.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/device') diff --git a/src/device/device_default.hpp b/src/device/device_default.hpp index b697e1775..5c59a9066 100644 --- a/src/device/device_default.hpp +++ b/src/device/device_default.hpp @@ -61,7 +61,7 @@ namespace hw { bool set_mode(device_mode mode) override; - device_type get_type() const {return device_type::SOFTWARE;}; + device_type get_type() const override {return device_type::SOFTWARE;}; /* ======================================================================= */ /* LOCKER */ diff --git a/src/device/device_ledger.hpp b/src/device/device_ledger.hpp index 4a3625b2b..cd97d42a0 100644 --- a/src/device/device_ledger.hpp +++ b/src/device/device_ledger.hpp @@ -144,7 +144,7 @@ namespace hw { bool set_mode(device_mode mode) override; - device_type get_type() const {return device_type::LEDGER;}; + device_type get_type() const override {return device_type::LEDGER;}; /* ======================================================================= */ /* LOCKER */ -- cgit v1.2.3