Socket::operator=: Return non-const reference
Found by cppcheck. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Keith Winstein
parent
d0eeabb51e
commit
866e1399d5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user