Skip to content

Commit

Permalink
test: instruct the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Oct 22, 2024
1 parent eb06aed commit 34d2b00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/uvw/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ TEST(Util, Utilities) {
ASSERT_TRUE(uvw::utilities::replace_allocator(
[](size_t size) { return malloc(size); },
[](void *ptr, size_t size) { return realloc(ptr, size); },
// NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
[](size_t num, size_t size) { return calloc(num, size); },
[](void *ptr) { return free(ptr); }));

Expand Down

0 comments on commit 34d2b00

Please sign in to comment.