Skip to content

Commit

Permalink
Address one more warning that showed up in the CI build log for MacOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
stuart-auterion committed Mar 11, 2024
1 parent 5cb371f commit 9dc9a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ TEST_CASE("TCP server client") {
{"mavlink_version", 6}});

std::promise<std::shared_ptr<mav::Connection>> connection2_promise;
server_runtime.onConnection([&heartbeat2, &connection2_promise](const std::shared_ptr<mav::Connection> &connection) {
server_runtime.onConnection([&connection2_promise](const std::shared_ptr<mav::Connection> &connection) {
connection2_promise.set_value(connection);
});

Expand Down

0 comments on commit 9dc9a09

Please sign in to comment.