Commit 48088b6d authored by Kurt Tomlinson's avatar Kurt Tomlinson Committed by Facebook GitHub Bot

Move at least one virtual method to our cpp files

Summary: Define at least one virtual method in a cpp file.

Differential Revision: D33891879

fbshipit-source-id: 3d2e3177b112c5fc7b2b84ed8bc41c5d0e15127e
parent aa0ba075
......@@ -54,6 +54,8 @@ static constexpr bool msgErrQueueSupported =
false;
#endif // FOLLY_HAVE_MSG_ERRQUEUE
AsyncServerSocket::AcceptCallback::~AcceptCallback() = default;
const uint32_t AsyncServerSocket::kDefaultMaxAcceptAtOnce;
const uint32_t AsyncServerSocket::kDefaultCallbackAcceptAtOnce;
const uint32_t AsyncServerSocket::kDefaultMaxMessagesInQueue;
......
......@@ -144,7 +144,7 @@ class AsyncServerSocket : public DelayedDestruction, public AsyncSocketBase {
std::chrono::steady_clock::time_point timeBeforeEnqueue;
};
virtual ~AcceptCallback() = default;
virtual ~AcceptCallback();
/**
* connectionAccepted() is called whenever a new client connection is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment