From 67f56ec6ab7a89c72d607efe620f85a885fc088e Mon Sep 17 00:00:00 2001 From: David Reiss Date: Wed, 6 Oct 2010 17:10:16 +0000 Subject: [PATCH] THRIFT-926. cpp: Remove TServerSocket as a friend class of TSocket This is no longer necessary now that TSocket::TSocket(int) is public. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005144 13f79535-47bb-0310-9956-ffa450edef68 --- lib/cpp/src/transport/TSocket.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/cpp/src/transport/TSocket.h b/lib/cpp/src/transport/TSocket.h index 47a702d1..97562c24 100644 --- a/lib/cpp/src/transport/TSocket.h +++ b/lib/cpp/src/transport/TSocket.h @@ -35,14 +35,6 @@ namespace apache { namespace thrift { namespace transport { * */ class TSocket : public TVirtualTransport { - /** - * We allow the TServerSocket acceptImpl() method to access the private - * members of a socket so that it can access the TSocket(int socket) - * constructor which creates a socket object from the raw UNIX socket - * handle. - */ - friend class TServerSocket; - public: /** * Constructs a new socket. Note that this does NOT actually connect the -- 2.17.1