Fix copy paste error in the new random gen constraint

This commit is contained in:
Martin Hořeňovský 2022-06-02 15:51:21 +02:00
parent 4142e699c2
commit 40dd9dd3f4
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -70,7 +70,7 @@ std::enable_if_t<std::is_integral<T>::value, GeneratorWrapper<T>>
random(T a, T b) {
static_assert(
!std::is_same<T, char>::value &&
!std::is_same<T, uint8_t>::value &&
!std::is_same<T, int8_t>::value &&
!std::is_same<T, uint8_t>::value &&
!std::is_same<T, signed char>::value &&
!std::is_same<T, unsigned char>::value &&