From a975b69811e6eaaaf61c4fdd1d83d6f485b29871 Mon Sep 17 00:00:00 2001 From: zhaorenhai Date: Fri, 22 Jan 2021 11:55:25 +0800 Subject: [PATCH] MCOL-4510 thrift code need to be upgraded to support aarch64 code is from https://bugzilla.redhat.com/show_bug.cgi?id=1273830 --- utils/thrift/thrift/protocol/TProtocol.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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