Refactor fallback ints

This commit is contained in:
Victor Zverovich
2022-02-17 20:24:42 -08:00
parent 15c2a3bacc
commit d38f72aff2
4 changed files with 30 additions and 26 deletions

View File

@@ -361,7 +361,7 @@ TEST(format_impl_test, write_fallback_uintptr) {
std::string s;
fmt::detail::write_ptr<char>(
std::back_inserter(s),
fmt::detail::fallback_uintptr(reinterpret_cast<void*>(0xface)), nullptr);
fmt::detail::uintptr_fallback(reinterpret_cast<void*>(0xface)), nullptr);
EXPECT_EQ(s, "0xface");
}