Get rid of all the using namespace and using boost:: declarations in Thrift header files
Summary: To remove upstream dependencies. Still keeping some specific using directives around.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665047 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/PosixThreadFactory.h b/lib/cpp/src/concurrency/PosixThreadFactory.h
index 4e50dff..ede7d79 100644
--- a/lib/cpp/src/concurrency/PosixThreadFactory.h
+++ b/lib/cpp/src/concurrency/PosixThreadFactory.h
@@ -13,8 +13,6 @@
namespace facebook { namespace thrift { namespace concurrency {
-using namespace boost;
-
/**
* A thread factory to create posix threads
*
@@ -57,7 +55,7 @@
PosixThreadFactory(POLICY policy=ROUND_ROBIN, PRIORITY priority=NORMAL, int stackSize=1, bool detached=false);
// From ThreadFactory;
- shared_ptr<Thread> newThread(shared_ptr<Runnable> runnable) const;
+ boost::shared_ptr<Thread> newThread(boost::shared_ptr<Runnable> runnable) const;
/**
* Sets stack size for created threads
@@ -85,7 +83,7 @@
private:
class Impl;
- shared_ptr<Impl> impl_;
+ boost::shared_ptr<Impl> impl_;
};
}}} // facebook::thrift::concurrency