diff --git a/format_test.cc b/format_test.cc index 07aea5d9..d0ec4025 100644 --- a/format_test.cc +++ b/format_test.cc @@ -355,10 +355,10 @@ TEST(WriterTest, oct) { TEST(WriterTest, hex) { using fmt::hex; - fmt::IntFormatter > (*phex)(int value) = hex; + fmt::IntFormatSpec > (*phex)(int value) = hex; phex(42); // This shouldn't compile: - //fmt::IntFormatter > (*phex2)(short value) = hex; + //fmt::IntFormatSpec > (*phex2)(short value) = hex; EXPECT_EQ("cafe", str(Writer() << hex(0xcafe))); EXPECT_EQ("babe", str(Writer() << hex(0xbabeu)));