THRIFT-2850 CMake for Apache Thrift
Client: Cpp
Patch: Ben Craig
This closes #534
diff --git a/lib/cpp/test/TNonblockingServerTest.cpp b/lib/cpp/test/TNonblockingServerTest.cpp
index 4aa4c28..9488091 100644
--- a/lib/cpp/test/TNonblockingServerTest.cpp
+++ b/lib/cpp/test/TNonblockingServerTest.cpp
@@ -46,7 +46,7 @@
class Fixture {
private:
- struct Runner : public concurrency::Runnable {
+ struct Runner : public apache::thrift::concurrency::Runnable {
boost::shared_ptr<server::TNonblockingServer> server;
bool error;
virtual void run() {
@@ -80,8 +80,8 @@
}
int startServer(int port) {
- boost::scoped_ptr<concurrency::ThreadFactory> threadFactory(
- new concurrency::PlatformThreadFactory(
+ boost::scoped_ptr<apache::thrift::concurrency::ThreadFactory> threadFactory(
+ new apache::thrift::concurrency::PlatformThreadFactory(
#if !USE_BOOST_THREAD && !USE_STD_THREAD
concurrency::PlatformThreadFactory::OTHER,
concurrency::PlatformThreadFactory::NORMAL,
@@ -128,7 +128,7 @@
private:
boost::shared_ptr<event_base> userEventBase_;
boost::shared_ptr<test::ParentServiceProcessor> processor;
- boost::shared_ptr<concurrency::Thread> thread;
+ boost::shared_ptr<apache::thrift::concurrency::Thread> thread;
protected:
boost::shared_ptr<server::TNonblockingServer> server;