Fix compilation on mingw

This commit is contained in:
Moritz Bunkus 2011-11-06 16:27:14 +01:00
parent b866b2913d
commit 5dbf605c91

View File

@ -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))