Qualify a field name in NotificationQueueTest
authorChristopher Dykes <cdykes@fb.com>
Wed, 16 Nov 2016 02:46:23 +0000 (18:46 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 16 Nov 2016 02:53:30 +0000 (18:53 -0800)
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

folly/io/async/test/NotificationQueueTest.cpp

index 78e7eed55304e7db705694d5ce7c2e85b21635bb..f845d140885d87fe7b13164f47af935e0f7d3a60 100644 (file)
@@ -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