From 34d2b00441fc0c9cdb354368a8efae8551151bcd Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 22 Oct 2024 19:38:03 +0200 Subject: [PATCH] test: instruct the linter --- test/uvw/util.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/uvw/util.cpp b/test/uvw/util.cpp index 1be80955..d5a7bab6 100644 --- a/test/uvw/util.cpp +++ b/test/uvw/util.cpp @@ -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); }));