Fix clang-tidy modernize-type-traits warnings

Detected by clang-tidy-19
This commit is contained in:
Eduardo Almeida
2024-10-30 20:18:27 +00:00
parent 8e25294476
commit 28895f59d5

View File

@@ -64,7 +64,7 @@ class LollipopCounter
*/
LollipopCounter()
{
NS_ABORT_MSG_UNLESS(std::is_unsigned<T>::value,
NS_ABORT_MSG_UNLESS(std::is_unsigned_v<T>,
"Lollipop counters must be defined on unsigned integer types");
uint16_t numberofDigits = std::numeric_limits<T>::digits;