From 782e3f33cf07e2b3210e9bee9607f34bf6dfc5df Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 2 Oct 2015 14:52:54 +0200 Subject: 6.10 --- zen/file_error.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zen/file_error.h') diff --git a/zen/file_error.h b/zen/file_error.h index 73cfa17a..9276e8c5 100644 --- a/zen/file_error.h +++ b/zen/file_error.h @@ -38,10 +38,10 @@ DEFINE_NEW_FILE_ERROR(ErrorDifferentVolume); //CAVEAT: evalulate global error code *before* "throw" statement which may overwrite error code //due to a memory allocation before it creates the thrown instance! (e.g. affects MinGW + Win XP!!!) -inline +template inline void throwFileError(const std::wstring& msg, const std::wstring& functionName, const ErrorCode ec) //throw FileError { - throw FileError(msg, formatSystemError(functionName, ec)); + throw FE(msg, formatSystemError(functionName, ec)); } -- cgit