aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/serialport.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-06-30 20:13:51 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-06-30 20:13:51 +0200
commit2408ca900657fdb81f85092a0612aeb6217fbe0f (patch)
tree6d2ea3953704adf34d92fdfc25fc647957bd7471 /qtmips_machine/serialport.h
parent9dc519887f61ae33ff82bb125fb69398503f91f6 (diff)
downloadqtmips-2408ca900657fdb81f85092a0612aeb6217fbe0f.tar.gz
qtmips-2408ca900657fdb81f85092a0612aeb6217fbe0f.tar.bz2
qtmips-2408ca900657fdb81f85092a0612aeb6217fbe0f.zip
Use override to make newer versions of C++ compiler happy.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/serialport.h')
-rw-r--r--qtmips_machine/serialport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_machine/serialport.h b/qtmips_machine/serialport.h
index 095c06e..10def57 100644
--- a/qtmips_machine/serialport.h
+++ b/qtmips_machine/serialport.h
@@ -61,8 +61,8 @@ public slots:
void rx_queue_check() const;
public:
- bool wword(std::uint32_t address, std::uint32_t value);
- std::uint32_t rword(std::uint32_t address, bool debug_access = false) const;
+ bool wword(std::uint32_t address, std::uint32_t value) override;
+ std::uint32_t rword(std::uint32_t address, bool debug_access = false) const override;
virtual std::uint32_t get_change_counter() const override;
private:
void rx_queue_check_internal() const;