diff options
author | lloyd <[email protected]> | 2012-06-12 13:51:33 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-06-12 13:51:33 +0000 |
commit | f685eeb99f800a4312d227b94adf036d395dc651 (patch) | |
tree | e626d9878d79d9a0a8becbd5d43e2fa658f6ad08 /src/utils/exceptn.h | |
parent | aa5d1f93c077f1c80ba06c3055671136f79f74e7 (diff) |
Update what() signature on exception types
Diffstat (limited to 'src/utils/exceptn.h')
-rw-r--r-- | src/utils/exceptn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/exceptn.h b/src/utils/exceptn.h index 02fb16a66..f611c9976 100644 --- a/src/utils/exceptn.h +++ b/src/utils/exceptn.h @@ -184,7 +184,7 @@ struct BOTAN_DLL Self_Test_Failure : public Internal_Error */ struct BOTAN_DLL Memory_Exhaustion : public std::bad_alloc { - const char* what() const throw() + const char* what() const noexcept { return "Ran out of memory, allocation failed"; } }; |