diff options
author | Sen Jiang <senj@google.com> | 2018-05-02 18:54:43 -0700 |
---|---|---|
committer | Sen Jiang <senj@google.com> | 2018-05-02 19:01:41 -0700 |
commit | 60f31b62204c0b25838ef36c5c2de187001efc6c (patch) | |
tree | 598a63536cfeda1e2c8d50a947bf33027be148b3 /CPP/Common/ComTry.h | |
parent | 9186d4157ac38b8c314ffe99ea031faff87de996 (diff) | |
download | lzma-60f31b62204c0b25838ef36c5c2de187001efc6c.tar.gz |
Update LZMA SDK to 18.05.
Downloaded from https://www.7-zip.org/a/lzma1805.7z
Test: mma
Change-Id: I95bf31512854191c040e94cc677794f9abc4c46a
Diffstat (limited to 'CPP/Common/ComTry.h')
-rw-r--r-- | CPP/Common/ComTry.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CPP/Common/ComTry.h b/CPP/Common/ComTry.h index b2b3029..e6b514d 100644 --- a/CPP/Common/ComTry.h +++ b/CPP/Common/ComTry.h @@ -10,7 +10,11 @@ #define COM_TRY_BEGIN try {
#define COM_TRY_END } catch(...) { return E_OUTOFMEMORY; }
- // catch(const CNewException &) { return E_OUTOFMEMORY; }
+/*
+#define COM_TRY_END } \
+ catch(const CNewException &) { return E_OUTOFMEMORY; } \
+ catch(...) { return HRESULT_FROM_WIN32(ERROR_NOACCESS); } \
+*/
// catch(const CSystemException &e) { return e.ErrorCode; }
// catch(...) { return E_FAIL; }
|