aboutsummaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-21 19:32:47 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-21 19:33:15 +0000
commit4d0a8db06d1bb457ef5130a4f95a02618dcf1c78 (patch)
tree401c021f8feb2ac1a9dab17a19c916e535a1a788 /src/device
parentMerge pull request #4405 (diff)
downloadmonero-4d0a8db06d1bb457ef5130a4f95a02618dcf1c78.tar.xz
device: fix warnings about overridden functions
Diffstat (limited to '')
-rw-r--r--src/device/device_default.hpp2
-rw-r--r--src/device/device_ledger.hpp2
2 files changed, 2 insertions, 2 deletions
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 */