From b22386de90b359c79f9f0622c27aeff107437ae1 Mon Sep 17 00:00:00 2001 From: Trent Houliston Date: Tue, 26 Sep 2023 15:33:44 +1000 Subject: [PATCH] Fix nolint --- src/extension/network/NUClearNetwork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension/network/NUClearNetwork.cpp b/src/extension/network/NUClearNetwork.cpp index 8937ad753..e2acb0038 100644 --- a/src/extension/network/NUClearNetwork.cpp +++ b/src/extension/network/NUClearNetwork.cpp @@ -1019,7 +1019,7 @@ namespace extension { data[1].iov_len = packet_no + 1 < header.packet_count ? packet_data_mtu : payload.size() % packet_data_mtu; // Set our target and send (once again const cast is fine) - message.msg_name = const_cast(&target.sock); + message.msg_name = const_cast(&target.sock); // NOLINT(cppcoreguidelines-pro-type-const-cast) message.msg_namelen = target.size(); // TODO(trent): if reliable, run select first to see if this socket is writeable