socket2.cc (250B)
1 #include "socket" 2 3 Socket::Socket(Socket const &other) { 4 _refcount = other._refcount; 5 _basesocket = other._basesocket; 6 (*_refcount)++; 7 8 #ifdef SOCKET_DEBUG 9 debugmsg("Socket: created copy, " << description() << '\n'); 10 #endif 11 }