aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/exceptn.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-06-12 13:51:33 +0000
committerlloyd <[email protected]>2012-06-12 13:51:33 +0000
commitf685eeb99f800a4312d227b94adf036d395dc651 (patch)
treee626d9878d79d9a0a8becbd5d43e2fa658f6ad08 /src/utils/exceptn.h
parentaa5d1f93c077f1c80ba06c3055671136f79f74e7 (diff)
Update what() signature on exception types
Diffstat (limited to 'src/utils/exceptn.h')
-rw-r--r--src/utils/exceptn.h2
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"; }
};