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;