diff options
author | cyy <cyyever@outlook.com> | 2019-01-05 16:43:55 +0800 |
---|---|---|
committer | James E. King III <jking@apache.org> | 2019-01-07 08:11:37 -0500 |
commit | d65e91c47613e54eb0c2bf521ae2cd4242d58ed9 (patch) | |
tree | e9b83fa0ea43e4f273ffcd867668534256e1b616 /contrib | |
parent | 316723add4c368ffd144dd5beb55245832e073fa (diff) | |
download | thrift-d65e91c47613e54eb0c2bf521ae2cd4242d58ed9.tar.gz |
remove stdcxx namespace and use std directly
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/zeromq/TZmqServer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/zeromq/TZmqServer.h b/contrib/zeromq/TZmqServer.h index 43f86c084..ecd13b424 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_; }; |