Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Sep 21, 2023
1 parent bc473e8 commit aeb52e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/dsl/word/emit/Watchdog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ namespace dsl {
struct WatchdogServicer<WatchdogGroup, void> {
using WatchdogStore = util::TypeMap<WatchdogGroup, void, NUClear::clock::time_point>;

WatchdogServicer() {}

/**
* @brief * Services the watchdog
*
Expand Down
2 changes: 1 addition & 1 deletion src/extension/network/NUClearNetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ namespace extension {
// Our packet we are sending
msghdr message{};

std::array<iovec, 2> data; // NOLINT(cppcoreguidelines-avoid-c-arrays,modernize-avoid-c-arrays)
std::array<iovec, 2> data{};
message.msg_iov = data.data();
message.msg_iovlen = 2;

Expand Down

0 comments on commit aeb52e7

Please sign in to comment.