Permalink
Browse files

JitArm64/Jit_Util: Add missing override specifiers

  • Loading branch information...
lioncash committed May 30, 2018
1 parent 4fb2d58 commit ba6c371746f9d29972e4a0329e6c911fe608a365
Showing with 6 additions and 6 deletions.
  1. +6 −6 Source/Core/Core/PowerPC/JitArm64/Jit_Util.cpp
@@ -23,12 +23,12 @@ class MMIOWriteCodeGenerator : public MMIO::WriteHandlingMethodVisitor<T>
{
}
virtual void VisitNop()
void VisitNop() override
{
// Do nothing
}
virtual void VisitDirect(T* addr, u32 mask) { WriteRegToAddr(8 * sizeof(T), addr, mask); }
virtual void VisitComplex(const std::function<void(u32, T)>* lambda)
void VisitDirect(T* addr, u32 mask) override { WriteRegToAddr(8 * sizeof(T), addr, mask); }
void VisitComplex(const std::function<void(u32, T)>* lambda) override
{
CallLambda(8 * sizeof(T), lambda);
}
@@ -103,12 +103,12 @@ class MMIOReadCodeGenerator : public MMIO::ReadHandlingMethodVisitor<T>
{
}
virtual void VisitConstant(T value) { LoadConstantToReg(8 * sizeof(T), value); }
virtual void VisitDirect(const T* addr, u32 mask)
void VisitConstant(T value) override { LoadConstantToReg(8 * sizeof(T), value); }
void VisitDirect(const T* addr, u32 mask) override
{
LoadAddrMaskToReg(8 * sizeof(T), addr, mask);
}
virtual void VisitComplex(const std::function<T(u32)>* lambda)
void VisitComplex(const std::function<T(u32)>* lambda) override
{
CallLambda(8 * sizeof(T), lambda);
}

0 comments on commit ba6c371

Please sign in to comment.