From 28895f59d503e04fe4441d9305e3d3f1620f6963 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Wed, 30 Oct 2024 20:18:27 +0000 Subject: [PATCH] Fix clang-tidy modernize-type-traits warnings Detected by clang-tidy-19 --- src/network/utils/lollipop-counter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/utils/lollipop-counter.h b/src/network/utils/lollipop-counter.h index 24f5227a2..8ec5513a3 100644 --- a/src/network/utils/lollipop-counter.h +++ b/src/network/utils/lollipop-counter.h @@ -64,7 +64,7 @@ class LollipopCounter */ LollipopCounter() { - NS_ABORT_MSG_UNLESS(std::is_unsigned::value, + NS_ABORT_MSG_UNLESS(std::is_unsigned_v, "Lollipop counters must be defined on unsigned integer types"); uint16_t numberofDigits = std::numeric_limits::digits;