mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Fix copy paste error in the new random gen constraint
This commit is contained in:
parent
4142e699c2
commit
40dd9dd3f4
@ -70,7 +70,7 @@ std::enable_if_t<std::is_integral<T>::value, GeneratorWrapper<T>>
|
|||||||
random(T a, T b) {
|
random(T a, T b) {
|
||||||
static_assert(
|
static_assert(
|
||||||
!std::is_same<T, char>::value &&
|
!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, uint8_t>::value &&
|
||||||
!std::is_same<T, signed char>::value &&
|
!std::is_same<T, signed char>::value &&
|
||||||
!std::is_same<T, unsigned char>::value &&
|
!std::is_same<T, unsigned char>::value &&
|
||||||
|
Loading…
Reference in New Issue
Block a user