General: Add missing override specifiers

This commit is contained in:
Lioncash 2018-01-26 21:25:27 -05:00 committed by MerryMage
parent b2d99eddc6
commit ed561d6653
3 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ struct A32EmitContext final : public EmitContext {
class A32EmitX64 final : public EmitX64 { class A32EmitX64 final : public EmitX64 {
public: public:
A32EmitX64(BlockOfCode* code, A32::UserCallbacks cb, A32::Jit* jit_interface); A32EmitX64(BlockOfCode* code, A32::UserCallbacks cb, A32::Jit* jit_interface);
~A32EmitX64(); ~A32EmitX64() override;
/** /**
* Emit host machine code for a basic block with intermediate representation `ir`. * Emit host machine code for a basic block with intermediate representation `ir`.

View file

@ -28,7 +28,7 @@ struct A64EmitContext final : public EmitContext {
class A64EmitX64 final : public EmitX64 { class A64EmitX64 final : public EmitX64 {
public: public:
A64EmitX64(BlockOfCode* code, A64::UserConfig conf); A64EmitX64(BlockOfCode* code, A64::UserConfig conf);
~A64EmitX64(); ~A64EmitX64() override;
/** /**
* Emit host machine code for a basic block with intermediate representation `ir`. * Emit host machine code for a basic block with intermediate representation `ir`.

View file

@ -31,7 +31,7 @@ public:
template <typename Function> template <typename Function>
SimpleCallback(Function fn) : fn(reinterpret_cast<void(*)()>(fn)) {} SimpleCallback(Function fn) : fn(reinterpret_cast<void(*)()>(fn)) {}
~SimpleCallback() = default; ~SimpleCallback() override = default;
void EmitCall(BlockOfCode* code, std::function<void()> l = []{}) override; void EmitCall(BlockOfCode* code, std::function<void()> l = []{}) override;
void EmitCall(BlockOfCode* code, std::function<void(Xbyak::Reg64)> l) override; void EmitCall(BlockOfCode* code, std::function<void(Xbyak::Reg64)> l) override;
@ -47,7 +47,7 @@ public:
template <typename Function> template <typename Function>
ArgCallback(Function fn, u64 arg) : fn(reinterpret_cast<void(*)()>(fn)), arg(arg) {} ArgCallback(Function fn, u64 arg) : fn(reinterpret_cast<void(*)()>(fn)), arg(arg) {}
~ArgCallback() = default; ~ArgCallback() override = default;
void EmitCall(BlockOfCode* code, std::function<void()> l = []{}) override; void EmitCall(BlockOfCode* code, std::function<void()> l = []{}) override;
void EmitCall(BlockOfCode* code, std::function<void(Xbyak::Reg64)> l) override; void EmitCall(BlockOfCode* code, std::function<void(Xbyak::Reg64)> l) override;