diff options
author | rcdailey <[email protected]> | 2015-03-08 16:48:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-03-08 16:48:23 +0000 |
commit | c84b150c50093c680f18f0792bf7d52f157b01fe (patch) | |
tree | 40158cb3da0f1064d0ab6b42ae2ab998f604b168 /src/lib/utils/exceptn.h | |
parent | f0ccd62149e466d4fbf1fb2c57227c4d3cee190c (diff) |
Add BOTAN_NOEXCEPT macro to work around missing noexcept in VS 2013.
Based on github pull req 23 by Robert Daily.
Diffstat (limited to 'src/lib/utils/exceptn.h')
-rw-r--r-- | src/lib/utils/exceptn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/exceptn.h b/src/lib/utils/exceptn.h index e7231f84d..7a10319c5 100644 --- a/src/lib/utils/exceptn.h +++ b/src/lib/utils/exceptn.h @@ -172,7 +172,7 @@ struct BOTAN_DLL Self_Test_Failure : public Internal_Error */ struct BOTAN_DLL Memory_Exhaustion : public std::bad_alloc { - const char* what() const noexcept + const char* what() const BOTAN_NOEXCEPT { return "Ran out of memory, allocation failed"; } }; |