diff options
Diffstat (limited to 'lib/cpp/src/thrift/transport/TServerTransport.h')
-rw-r--r-- | lib/cpp/src/thrift/transport/TServerTransport.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/cpp/src/thrift/transport/TServerTransport.h b/lib/cpp/src/thrift/transport/TServerTransport.h index 2ddee0d18..7c4a7c3d2 100644 --- a/lib/cpp/src/thrift/transport/TServerTransport.h +++ b/lib/cpp/src/thrift/transport/TServerTransport.h @@ -24,7 +24,9 @@ #include <thrift/transport/TTransportException.h> #include <boost/shared_ptr.hpp> -namespace apache { namespace thrift { namespace transport { +namespace apache { +namespace thrift { +namespace transport { /** * Server transport framework. A server needs to have some facility for @@ -32,7 +34,7 @@ namespace apache { namespace thrift { namespace transport { * */ class TServerTransport { - public: +public: virtual ~TServerTransport() {} /** @@ -74,7 +76,7 @@ class TServerTransport { */ virtual void close() = 0; - protected: +protected: TServerTransport() {} /** @@ -84,9 +86,9 @@ class TServerTransport { * @throw TTransportException If an error occurs */ virtual boost::shared_ptr<TTransport> acceptImpl() = 0; - }; - -}}} // apache::thrift::transport +} +} +} // apache::thrift::transport #endif // #ifndef _THRIFT_TRANSPORT_TSERVERTRANSPORT_H_ |