Commit d3928f05 authored by Hans Fugal's avatar Hans Fugal Committed by facebook-github-bot-4

Fix "reference to 'thread' is ambiguous"

Summary: This fixes github issue https://github.com/facebook/folly/issues/243

I don't understand why this is broken on osx, but the solution is to just `#include <thread>` in the header instead of trying to forward declare `std::thread`.

Reviewed By: @yfeldblum

Differential Revision: D2255026
parent 58ddb58b
......@@ -17,12 +17,9 @@
#pragma once
#include <memory>
#include <thread>
#include <folly/io/async/EventBase.h>
namespace std {
class thread;
}
namespace folly {
/**
......
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