diff options
-rw-r--r-- | contrib/zeromq/TZmqServer.h | 5 | ||||
-rwxr-xr-x | 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 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_; }; diff --git a/lib/cpp/Makefile.am b/lib/cpp/Makefile.am index 11d6b051c..85bb9abf8 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 |