Permalink
Browse files

Merge pull request #7034 from lioncash/override

JitArm64/Jit_Util: Add missing override specifiers
  • Loading branch information...
Helios747 committed May 31, 2018
2 parents bd3d2a8 + ba6c371 commit a9a03d15655179290ebaa4424a10f5d308378005
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 a9a03d1

Please sign in to comment.