summaryrefslogtreecommitdiff
path: root/zen/sys_error.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-10-11 11:16:39 -0400
committerB. Stack <bgstack15@gmail.com>2022-10-11 11:16:39 -0400
commitcab22f2dc3c5f41b5163f74cbb233e390edff6ff (patch)
treea49cfd729d9793681a57fa6f7409b0f0848e9ede /zen/sys_error.h
parentMerge branch 'b11.25' into 'master' (diff)
downloadFreeFileSync-cab22f2dc3c5f41b5163f74cbb233e390edff6ff.tar.gz
FreeFileSync-cab22f2dc3c5f41b5163f74cbb233e390edff6ff.tar.bz2
FreeFileSync-cab22f2dc3c5f41b5163f74cbb233e390edff6ff.zip
add upstream 11.26
Diffstat (limited to 'zen/sys_error.h')
-rw-r--r--zen/sys_error.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zen/sys_error.h b/zen/sys_error.h
index 6d03f299..73a92343 100644
--- a/zen/sys_error.h
+++ b/zen/sys_error.h
@@ -42,6 +42,7 @@ private:
+//better leave it as a macro (see comment in file_error.h)
#define THROW_LAST_SYS_ERROR(functionName) \
do { const ErrorCode ecInternal = getLastError(); throw zen::SysError(formatSystemError(functionName, ecInternal)); } while (false)
bgstack15