Remove some leftover apache paths
authorDave Watson <davejwatson@fb.com>
Thu, 23 Oct 2014 22:21:23 +0000 (15:21 -0700)
committerdcsommer <dcsommer@fb.com>
Wed, 29 Oct 2014 23:04:57 +0000 (16:04 -0700)
Summary: EventBaseManager was moved to folly, we shouldn't have deps on apache

Test Plan: fbconfig -r folly/experimental/wangle/concurrency; fbmake runtests

Reviewed By: hans@fb.com

Subscribers: doug, fugalh, njormrod, folly-diffs@

FB internal diff: D1636006

folly/experimental/wangle/concurrent/IOThreadPoolExecutor.cpp

index a58b3f44358e78585e80afa1675fac512eaaeb65..f0a1b4924f0bb01ceb27421fdd74eae26c852658 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <folly/MoveWrapper.h>
 #include <glog/logging.h>
-#include <thrift/lib/cpp/async/TEventBaseManager.h>
+#include <folly/io/async/EventBaseManager.h>
 
 namespace folly { namespace wangle {
 
@@ -72,7 +72,7 @@ IOThreadPoolExecutor::makeThread() {
 void IOThreadPoolExecutor::threadRun(ThreadPtr thread) {
   const auto ioThread = std::static_pointer_cast<IOThread>(thread);
   ioThread->eventBase =
-    apache::thrift::async::TEventBaseManager::get()->getEventBase();
+    folly::EventBaseManager::get()->getEventBase();
   thread->startupBaton.post();
   while (ioThread->shouldRun) {
     ioThread->eventBase->loopForever();