diff options
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"; } }; |