0d045ae3da
Convert the RAIIsocket to a simple SOCKET before passing it to FD_SET. Otherwise, the build fails with: ``` similar/main/net_udp.cpp: In function 'int {anonymous}::udp_general_packet_ready(dcx::{anonymous}::RAIIsocket&)': similar/main/net_udp.cpp:969:2: error: use of deleted function 'bool dcx::{anonymous}::RAIIsocket::operator==(T) const [with T = long long unsigned int]' 969 | FD_SET(sock, &set); | ^~~~~~ similar/main/net_udp.cpp:493:29: note: declared here 493 | template <typename T> bool operator==(T) const = delete; | ^~~~~~~~ ``` |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |