X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fsocket_wrapper.hxx;h=093a8094e32d42950dfc44bc273f2b36016894a0;hp=067931ef8f1d40925b17eefd035ff5e95ffd1ed5;hb=238ad35f4e3b6516d4ba7611b540a0edeea71427;hpb=15980b02dac194a6f0dddce9c1750d914d97aa71 diff --git a/src/socket_wrapper.hxx b/src/socket_wrapper.hxx index 067931e..093a809 100644 --- a/src/socket_wrapper.hxx +++ b/src/socket_wrapper.hxx @@ -52,6 +52,9 @@ class BasicSocketWrapper : public ConnectionWrapper std::auto_ptr c; + // TODO: Mark object as non-copyable as it contains an auto_ptr. + // This will make sure nobody every tries to put this in a STL container + public: BasicSocketWrapper(int _port, const std::string& _server="127.0.0.1", long long _connect_timeout_usec=socket_client_connection::connect_timeout_usec_default,