You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2010/10/06 19:10:16 UTC
svn commit: r1005144 -
/incubator/thrift/trunk/lib/cpp/src/transport/TSocket.h
Author: dreiss
Date: Wed Oct 6 17:10:16 2010
New Revision: 1005144
URL: http://svn.apache.org/viewvc?rev=1005144&view=rev
Log:
THRIFT-926. cpp: Remove TServerSocket as a friend class of TSocket
This is no longer necessary now that TSocket::TSocket(int) is public.
Modified:
incubator/thrift/trunk/lib/cpp/src/transport/TSocket.h
Modified: incubator/thrift/trunk/lib/cpp/src/transport/TSocket.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/transport/TSocket.h?rev=1005144&r1=1005143&r2=1005144&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/transport/TSocket.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/transport/TSocket.h Wed Oct 6 17:10:16 2010
@@ -35,14 +35,6 @@ namespace apache { namespace thrift { na
*
*/
class TSocket : public TVirtualTransport<TSocket> {
- /**
- * 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