THRIFT-270: change cpp namespaces from facebook::thrift to apache::thrift
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739644 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/protocol/TJSONProtocol.cpp b/lib/cpp/src/protocol/TJSONProtocol.cpp
index ca3a51f..01fe471 100644
--- a/lib/cpp/src/protocol/TJSONProtocol.cpp
+++ b/lib/cpp/src/protocol/TJSONProtocol.cpp
@@ -11,9 +11,9 @@
#include "TBase64Utils.h"
#include <transport/TTransportException.h>
-using namespace facebook::thrift::transport;
+using namespace apache::thrift::transport;
-namespace facebook { namespace thrift { namespace protocol {
+namespace apache { namespace thrift { namespace protocol {
// Static data
@@ -874,7 +874,7 @@
// Check if we hit the end of the list
uint8_t ch = reader_.peek();
if (ch == kJSONObjectEnd) {
- fieldType = facebook::thrift::protocol::T_STOP;
+ fieldType = apache::thrift::protocol::T_STOP;
}
else {
uint64_t tmpVal = 0;
@@ -982,4 +982,4 @@
return readJSONBase64(str);
}
-}}} // facebook::thrift::protocol
+}}} // apache::thrift::protocol