Merge pull request #6986 from leoetlino/warnings

Debug: Add missing override specifiers
This commit is contained in:
JosJuice 2018-05-27 16:16:13 +02:00 committed by GitHub
commit 512c6fee51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 18 deletions

View File

@ -38,15 +38,15 @@ public:
void ClearWatches() override; void ClearWatches() override;
// Memory Patches // Memory Patches
void SetPatch(u32 address, u32 value); void SetPatch(u32 address, u32 value) override;
void SetPatch(u32 address, std::vector<u8> value); void SetPatch(u32 address, std::vector<u8> value) override;
const std::vector<Common::Debug::MemoryPatch>& GetPatches() const; const std::vector<Common::Debug::MemoryPatch>& GetPatches() const override;
void UnsetPatch(u32 address); void UnsetPatch(u32 address) override;
void EnablePatch(std::size_t index); void EnablePatch(std::size_t index) override;
void DisablePatch(std::size_t index); void DisablePatch(std::size_t index) override;
bool HasEnabledPatch(u32 address) const; bool HasEnabledPatch(u32 address) const override;
void RemovePatch(std::size_t index); void RemovePatch(std::size_t index) override;
void ClearPatches(); void ClearPatches() override;
std::string Disassemble(unsigned int address) override; std::string Disassemble(unsigned int address) override;
std::string GetRawMemoryString(int memory, unsigned int address) override; std::string GetRawMemoryString(int memory, unsigned int address) override;

View File

@ -41,15 +41,15 @@ public:
void ClearWatches() override; void ClearWatches() override;
// Memory Patches // Memory Patches
void SetPatch(u32 address, u32 value); void SetPatch(u32 address, u32 value) override;
void SetPatch(u32 address, std::vector<u8> value); void SetPatch(u32 address, std::vector<u8> value) override;
const std::vector<Common::Debug::MemoryPatch>& GetPatches() const; const std::vector<Common::Debug::MemoryPatch>& GetPatches() const override;
void UnsetPatch(u32 address); void UnsetPatch(u32 address) override;
void EnablePatch(std::size_t index); void EnablePatch(std::size_t index) override;
void DisablePatch(std::size_t index); void DisablePatch(std::size_t index) override;
void RemovePatch(std::size_t index); void RemovePatch(std::size_t index) override;
bool HasEnabledPatch(u32 address) const; bool HasEnabledPatch(u32 address) const override;
void ClearPatches(); void ClearPatches() override;
std::string Disassemble(unsigned int address) override; std::string Disassemble(unsigned int address) override;
std::string GetRawMemoryString(int memory, unsigned int address) override; std::string GetRawMemoryString(int memory, unsigned int address) override;