Fix bogus null pointer constant warning

This commit is contained in:
Jason Cobb 2021-02-28 21:47:17 -05:00
parent ab343b62cb
commit a715b99549
No known key found for this signature in database
GPG Key ID: 2A3F6A6DCA1E8DED

View File

@ -167,7 +167,7 @@ TEST(IteratorTest, TruncatingIteratorDefaultConstruct) {
fmt::detail::truncating_iterator<char*> it;
EXPECT_EQ(nullptr, it.base());
EXPECT_EQ(0, it.count());
EXPECT_EQ(std::size_t{0}, it.count());
}
#ifdef __cpp_lib_ranges