Skip to content

Commit

Permalink
Merge pull request #4412
Browse files Browse the repository at this point in the history
4d0a8db device: fix warnings about overridden functions (moneromooo-monero)
  • Loading branch information
fluffypony committed Sep 25, 2018
2 parents e67789d + 4d0a8db commit 295bae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/device/device_default.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion src/device/device_ledger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 295bae1

Please sign in to comment.