From 1672380910a8c21cd36095661eb1360f43c93332 Mon Sep 17 00:00:00 2001 From: Victor Gao Date: Fri, 9 Jun 2017 11:23:25 -0700 Subject: [PATCH] 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 --- folly/io/async/test/MockAsyncUDPSocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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&)); -- 2.34.1