From 2408ca900657fdb81f85092a0612aeb6217fbe0f Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sun, 30 Jun 2019 20:13:51 +0200 Subject: Use override to make newer versions of C++ compiler happy. Signed-off-by: Pavel Pisa --- qtmips_machine/serialport.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtmips_machine/serialport.h') 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; -- cgit v1.2.3