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/peripspiled.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtmips_machine/peripspiled.h') diff --git a/qtmips_machine/peripspiled.h b/qtmips_machine/peripspiled.h index 70c8019..582349f 100644 --- a/qtmips_machine/peripspiled.h +++ b/qtmips_machine/peripspiled.h @@ -67,8 +67,8 @@ public slots: void green_knob_push(bool state); void blue_knob_push(bool state); 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 knob_update_notify(std::uint32_t val, std::uint32_t mask, int shift); -- cgit v1.2.3