From: Christopher Dykes Date: Wed, 16 Nov 2016 02:46:23 +0000 (-0800) Subject: Qualify a field name in NotificationQueueTest X-Git-Tag: v2016.11.21.00~29 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2187ccc928dd10abe57af00fc179358c0133b820;p=folly.git Qualify a field name in NotificationQueueTest Summary: MSVC currently has a bug that causes it to incorrectly resolve it to `std::queue`: https://developercommunity.visualstudio.com/content/problem/2342/c-failure-to-resolve-instance-member-in-lambda-con.html Reviewed By: lbrandy Differential Revision: D4187256 fbshipit-source-id: 207eafa339f7255ae881d8ab80f4847222c3b8c9 --- diff --git a/folly/io/async/test/NotificationQueueTest.cpp b/folly/io/async/test/NotificationQueueTest.cpp index 78e7eed5..f845d140 100644 --- a/folly/io/async/test/NotificationQueueTest.cpp +++ b/folly/io/async/test/NotificationQueueTest.cpp @@ -81,7 +81,7 @@ void QueueTest::sendOne() { // Start a new EventBase thread to put a message on our queue ScopedEventBaseThread t1; t1.getEventBase()->runInEventBaseThread([&] { - queue.putMessage(5); + this->queue.putMessage(5); }); // Loop until we receive the message