From 94daf27c9dfea6b8996c94cc2375b95e085b9f41 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 12 Sep 2014 17:41:04 -0700 Subject: [PATCH] Fix posix-test, take 2. --- 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 c3900af3..adc9ab55 100644 --- a/test/posix-test.cc +++ b/test/posix-test.cc @@ -258,7 +258,7 @@ TEST(FileTest, Size) { f.close(); #ifdef _WIN32 fmt::Writer message; - fmt::format_windows_error( + fmt::internal::format_windows_error( message, ERROR_ACCESS_DENIED, "cannot get file size"); fstat_sim = ERROR; EXPECT_THROW_MSG(f.size(), fmt::WindowsError, message.str());