Skip to content

Commit

Permalink
Format with wpiformat==2024.41
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Sep 21, 2024
1 parent 6601ca2 commit 39e889d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ntcore/src/main/native/cpp/net/TimeSyncClientServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ wpi::TimeSyncClient::TimeSyncClient(std::string_view server, int remote_port,
struct sockaddr_in serverAddr;
uv::NameToAddr(m_serverIP, m_serverPort, &serverAddr);

m_loopRunner.ExecSync([this, serverAddr](uv::Loop&) { m_udp->Connect(serverAddr); });
m_loopRunner.ExecSync(
[this, serverAddr](uv::Loop&) { m_udp->Connect(serverAddr); });
}

void wpi::TimeSyncClient::Start() {
Expand Down

0 comments on commit 39e889d

Please sign in to comment.