Commit ea402b76 authored by Max Kellermann's avatar Max Kellermann

event/WinSelect: pass const reference to copy constructor

parent 497e0669
......@@ -43,7 +43,7 @@ class SocketSet
fd_set set;
public:
SocketSet() { set.fd_count = 0; }
SocketSet(SocketSet &other) {
SocketSet(const SocketSet &other) noexcept {
set.fd_count = other.set.fd_count;
memcpy(set.fd_array,
other.set.fd_array,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment