diff --git a/utils/thrift/thrift/protocol/TProtocol.h b/utils/thrift/thrift/protocol/TProtocol.h index 27a282474..e2b3f4857 100644 --- a/utils/thrift/thrift/protocol/TProtocol.h +++ b/utils/thrift/thrift/protocol/TProtocol.h @@ -77,15 +77,6 @@ static inline To bitwise_cast(From from) } -namespace apache -{ -namespace thrift -{ -namespace protocol -{ - -using apache::thrift::transport::TTransport; - #ifdef HAVE_SYS_PARAM_H #include #endif @@ -147,6 +138,15 @@ using apache::thrift::transport::TTransport; # error "Can't define htonll or ntohll!" #endif +namespace apache +{ +namespace thrift +{ +namespace protocol +{ + +using apache::thrift::transport::TTransport; + /** * Enumerated definition of the types that the Thrift protocol supports. * Take special note of the T_END type which is used specifically to mark