aboutsummaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-09-25 12:13:51 +0200
committerRiccardo Spagni <ric@spagni.net>2018-09-25 12:13:51 +0200
commit295bae10badeb2a06043702609f2ab5800012ca9 (patch)
treef9dab0edb80fa05c6b02aea64b13fe3d2676848f /src/device
parentMerge pull request #4422 (diff)
parentdevice: fix warnings about overridden functions (diff)
downloadmonero-295bae10badeb2a06043702609f2ab5800012ca9.tar.xz
Merge pull request #4412
4d0a8db0 device: fix warnings about overridden functions (moneromooo-monero)
Diffstat (limited to 'src/device')
-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 87b65996d..dde69fbfd 100644
--- a/src/device/device_ledger.hpp
+++ b/src/device/device_ledger.hpp
@@ -140,7 +140,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 */