From 5dbf605c91067bc7f035d1c805a9b9e51fbd6025 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 6 Nov 2011 16:27:14 +0100 Subject: [PATCH] Fix compilation on mingw --- src/common/mm_io_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/mm_io_win.cpp b/src/common/mm_io_win.cpp index 5843dea12..dfee12170 100644 --- a/src/common/mm_io_win.cpp +++ b/src/common/mm_io_win.cpp @@ -70,7 +70,7 @@ mm_file_io_c::mm_file_io_c(const std::string &path, disposition = CREATE_ALWAYS; break; default: - throw mtx::invalid_set_file_pointer; + throw mtx::invalid_parameter_x(); } if ((MODE_WRITE == mode) || (MODE_CREATE == mode))