From: Victor Gao Date: Fri, 9 Jun 2017 18:23:25 +0000 (-0700) Subject: apply clang-tidy modernize-use-override X-Git-Tag: v2017.06.12.00~4 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=1672380910a8c21cd36095661eb1360f43c93332;ds=sidebyside apply clang-tidy modernize-use-override Summary: Use clang-tidy to mechanically add missing `override` and remove redundant `virtual`. Reviewed By: igorsugak Differential Revision: D5211868 fbshipit-source-id: 4118c4c72f8ec3485507f69679f7e852b3eaeb73 --- diff --git a/folly/io/async/test/MockAsyncUDPSocket.h b/folly/io/async/test/MockAsyncUDPSocket.h index e8dac099..7e6ff590 100644 --- a/folly/io/async/test/MockAsyncUDPSocket.h +++ b/folly/io/async/test/MockAsyncUDPSocket.h @@ -22,7 +22,7 @@ namespace folly { namespace test { struct MockAsyncUDPSocket : public AsyncUDPSocket { explicit MockAsyncUDPSocket(EventBase* evb) : AsyncUDPSocket(evb) {} - virtual ~MockAsyncUDPSocket() {} + ~MockAsyncUDPSocket() override {} MOCK_CONST_METHOD0(address, const SocketAddress&()); MOCK_METHOD1(bind, void(const SocketAddress&));