Fix Windows build, take 2.

This commit is contained in:
Victor Zverovich 2014-06-30 16:56:22 -07:00
parent a318244a1c
commit 3c72e0c18b

View File

@ -248,8 +248,8 @@ TEST(UtilTest, WinErrorSink) {
}
TEST(UtilTest, ThrowWinError) {
CheckThrowError(ERROR_FILE_EXISTS,
fmt::internal::FormatWinErrorMessage, fmt::ThrowWinError);
CheckThrowError<fmt::WindowsError>(
ERROR_FILE_EXISTS, fmt::internal::FormatWinErrorMessage);
}
TEST(UtilTest, ReportWinError) {