Skip to content

Commit 40dd9dd

Browse files
committed
Fix copy paste error in the new random gen constraint
1 parent 4142e69 commit 40dd9dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/catch2/generators/catch_generators_random.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ std::enable_if_t<std::is_integral<T>::value, GeneratorWrapper<T>>
7070
random(T a, T b) {
7171
static_assert(
7272
!std::is_same<T, char>::value &&
73-
!std::is_same<T, uint8_t>::value &&
73+
!std::is_same<T, int8_t>::value &&
7474
!std::is_same<T, uint8_t>::value &&
7575
!std::is_same<T, signed char>::value &&
7676
!std::is_same<T, unsigned char>::value &&

0 commit comments

Comments
 (0)