Socket::operator=: Return non-const reference

Found by cppcheck.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2013-02-18 02:07:45 -05:00
committed by Keith Winstein
parent d0eeabb51e
commit 866e1399d5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ namespace Network {
~Socket();
Socket( const Socket & other );
const Socket & operator=( const Socket & other );
Socket & operator=( const Socket & other );
};
std::deque< Socket > socks;