Fix issue of std::make_unsigned_t is not found
and change the mask target into unsigned int Note: This is odd because the `std::make_unsigned_t` is supposed to bethere in c++14.
This commit is contained in:
parent
bbe50ec0d7
commit
be4c43d29f
@ -773,7 +773,7 @@ TEST(FormatterTest, SignNotTruncated) {
|
||||
wchar_t format_str[] = {L'{', L':',
|
||||
'+' | static_cast<wchar_t>(
|
||||
1 << fmt::detail::num_bits<char>()
|
||||
& static_cast<typename std::make_unsigned_t<wchar_t> >(-1) ),
|
||||
& static_cast<typename std::make_unsigned<int>::type >(-1) ),
|
||||
L'}', 0};
|
||||
EXPECT_THROW(format(format_str, 42), format_error);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user