Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken test on builds relying on poco 1.12.x #126

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion test/mock_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ void MockServer<C>::serverThread() {
: typename C::Connect::Response(C::Connect::Status::kSuccess);
});

Poco::Net::DatagramSocket udp_socket({kHostname, 0});
Poco::Net::DatagramSocket udp_socket;
udp_socket.bind({kHostname, 0});
udp_socket.setBlocking(true);
Socket udp_socket_wrapper;
udp_socket_wrapper.sendBytes = [&](const void* data, size_t size) {
Expand Down