thrift-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dre...@apache.org
Subject svn commit: r1005144 - /incubator/thrift/trunk/lib/cpp/src/transport/TSocket.h
Date Wed, 06 Oct 2010 17:10:16 GMT
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



Mime
View raw message