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/memory.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qtmips_machine/memory.h') diff --git a/qtmips_machine/memory.h b/qtmips_machine/memory.h index 2b20366..667212c 100644 --- a/qtmips_machine/memory.h +++ b/qtmips_machine/memory.h @@ -81,8 +81,8 @@ public: MemorySection(const MemorySection&); ~MemorySection(); - bool wword(std::uint32_t offset, std::uint32_t value); - std::uint32_t rword(std::uint32_t offsetbool, bool debug_access = false) const; + bool wword(std::uint32_t offset, std::uint32_t value) override; + std::uint32_t rword(std::uint32_t offsetbool, bool debug_access = false) const override; virtual std::uint32_t get_change_counter() const override; void merge(MemorySection&); @@ -112,8 +112,8 @@ public: void reset(const Memory&); MemorySection *get_section(std::uint32_t address, bool create) const; // returns section containing given address - 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; bool operator==(const Memory&) const; -- cgit v1.2.3