apply clang-tidy modernize-use-override
[folly.git] / folly / io / async / test / MockAsyncUDPSocket.h
index 8a9c204dbea1db79d5cf2df45a4258b3cdcda337..7e6ff590d7f5a3851bef252036533e1a709cac1b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -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&));