Converted concurrency classes to use boost::shared_ptr and boost::weak_ptr:
Wrapped all thrift code in facebook::thrift:: namespace
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664735 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/protocol/TBinaryProtocol.cc b/lib/cpp/src/protocol/TBinaryProtocol.cc
index 6ac028a..ed482b8 100644
--- a/lib/cpp/src/protocol/TBinaryProtocol.cc
+++ b/lib/cpp/src/protocol/TBinaryProtocol.cc
@@ -1,6 +1,8 @@
#include "protocol/TBinaryProtocol.h"
using std::string;
+namespace facebook { namespace thrift { namespace protocol {
+
uint32_t TBinaryProtocol::writeStructBegin(TTransport* out,
const string& name) const {
return 0;
@@ -249,3 +251,4 @@
return result + (uint32_t)size;
}
+}}} // facebook::thrift::protocol