From a309c4bbed992a1a9289aef019d610ede7c1cddd Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 29 Sep 2014 09:28:44 -0700 Subject: [PATCH] Fix posix-test on Windows --- test/posix-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/posix-test.cc b/test/posix-test.cc index 4aaed791..8c4daced 100644 --- a/test/posix-test.cc +++ b/test/posix-test.cc @@ -256,7 +256,7 @@ TEST(FileTest, Size) { File f("test", File::RDONLY); EXPECT_EQ(content.size(), f.size()); #ifdef _WIN32 - fmt::Writer message; + fmt::MemoryWriter message; fmt::internal::format_windows_error( message, ERROR_ACCESS_DENIED, "cannot get file size"); fstat_sim = ERROR;