Commit 0ff4306d authored by Srivatsan Ramesh's avatar Srivatsan Ramesh Committed by Facebook GitHub Bot

Fix for proxygen fuzz build failure

Summary: Fix for the proxygen fuzz [build error]( https://oss-fuzz-build-logs.storage.googleapis.com/log-e58a42bb-98c0-4643-b842-b06f708eba12.txt) introduced by D27384053 (https://github.com/facebook/folly/commit/cdf0badc831c3aed7a740185d23728f779be8ba7)

Reviewed By: yfeldblum, lnicco

Differential Revision: D28154352

fbshipit-source-id: 6d98d9a3c9064de8f70506425dd790aa0cc3d9a6
parent 7a875f2a
......@@ -816,7 +816,7 @@ class AsyncServerSocket : public DelayedDestruction, public AsyncSocketBase {
AtomicNotificationQueueTaskStatus operator()(
QueueMessage&& msg) noexcept {
return boost::apply_visitor(
[this](auto& visitMsg) { return visitMsg(acceptor_); }, msg);
[this](auto&& visitMsg) { return visitMsg(acceptor_); }, msg);
}
explicit Consumer(RemoteAcceptor& acceptor) : acceptor_(acceptor) {}
......
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