Skip to content

Commit

Permalink
Specify version 2.2 when initializing Winsock.
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier2k6 authored and chriskohlhoff committed Mar 4, 2024
1 parent 2276d14 commit ee3bc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asio/include/asio/detail/winsock_init.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class winsock_init_base
ASIO_DECL static void throw_on_error(data& d);
};

template <int Major = 2, int Minor = 0>
template <int Major = 2, int Minor = 2>
class winsock_init : private winsock_init_base
{
public:
Expand Down

0 comments on commit ee3bc5c

Please sign in to comment.