diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-06-30 20:13:51 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-06-30 20:13:51 +0200 |
commit | 2408ca900657fdb81f85092a0612aeb6217fbe0f (patch) | |
tree | 6d2ea3953704adf34d92fdfc25fc647957bd7471 /qtmips_machine/memory.h | |
parent | 9dc519887f61ae33ff82bb125fb69398503f91f6 (diff) | |
download | qtmips-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/memory.h')
-rw-r--r-- | qtmips_machine/memory.h | 8 |
1 files changed, 4 insertions, 4 deletions
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; |