This is an automated email from the ASF dual-hosted git repository. jking pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/thrift.git
commit d65e91c47613e54eb0c2bf521ae2cd4242d58ed9 Author: cyy <cyye...@outlook.com> AuthorDate: Sat Jan 5 16:43:55 2019 +0800 remove stdcxx namespace and use std directly --- contrib/zeromq/TZmqServer.h | 5 +++-- lib/cpp/Makefile.am | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/zeromq/TZmqServer.h b/contrib/zeromq/TZmqServer.h index 43f86c0..ecd13b4 100644 --- a/contrib/zeromq/TZmqServer.h +++ b/contrib/zeromq/TZmqServer.h @@ -20,6 +20,7 @@ #ifndef _THRIFT_SERVER_TZMQSERVER_H_ #define _THRIFT_SERVER_TZMQSERVER_H_ 1 +#include <memory> #include <zmq.hpp> #include <thrift/server/TServer.h> @@ -28,7 +29,7 @@ namespace apache { namespace thrift { namespace server { class TZmqServer : public TServer { public: TZmqServer( - apache::thrift::stdcxx::shared_ptr<TProcessor> processor, + std::shared_ptr<TProcessor> processor, zmq::context_t& ctx, const std::string& endpoint, int type) : TServer(processor) , processor_(processor) @@ -56,7 +57,7 @@ class TZmqServer : public TServer { } private: - apache::thrift::stdcxx::shared_ptr<TProcessor> processor_; + std::shared_ptr<TProcessor> processor_; int zmq_type_; zmq::socket_t sock_; }; diff --git a/lib/cpp/Makefile.am b/lib/cpp/Makefile.am index 11d6b05..85bb9ab 100755 --- a/lib/cpp/Makefile.am +++ b/lib/cpp/Makefile.am @@ -159,7 +159,6 @@ include_thrift_HEADERS = \ src/thrift/TApplicationException.h \ src/thrift/TLogging.h \ src/thrift/TToString.h \ - src/thrift/stdcxx.h \ src/thrift/TBase.h include_concurrencydir = $(include_thriftdir)/concurrency