From 55a16eaec7f8117d07f17118ac5bc94556a24138 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 29 Sep 2014 09:37:33 -0700 Subject: [PATCH] Fix util-test on Windows --- test/util-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/util-test.cc b/test/util-test.cc index 4012d627..9034b3f8 100644 --- a/test/util-test.cc +++ b/test/util-test.cc @@ -717,7 +717,7 @@ TEST(UtilTest, FormatWindowsError) { reinterpret_cast(&message), 0, 0); fmt::internal::UTF16ToUTF8 utf8_message(message); LocalFree(message); - fmt::Writer actual_message; + fmt::MemoryWriter actual_message; fmt::internal::format_windows_error( actual_message, ERROR_FILE_EXISTS, "test"); EXPECT_EQ(fmt::format("test: {}", utf8_message.str()),