diff options
Diffstat (limited to 'fnet/src/tests/locking/castspeed.cpp')
-rw-r--r-- | fnet/src/tests/locking/castspeed.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fnet/src/tests/locking/castspeed.cpp b/fnet/src/tests/locking/castspeed.cpp index 7fe360b3caf..1f57bc4757c 100644 --- a/fnet/src/tests/locking/castspeed.cpp +++ b/fnet/src/tests/locking/castspeed.cpp @@ -18,14 +18,14 @@ class C: public A { public: B *otherB; - virtual B* asB() { return otherB; } + virtual B* asB() override { return otherB; } C() : otherB(nullptr) {} }; class B: public C { public: - virtual B* asB() { return this; } + virtual B* asB() override { return this; } }; |