aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-30 03:24:07 +0000
committerlloyd <[email protected]>2008-09-30 03:24:07 +0000
commit9b78b55b1c572ed029d2d5fe1b9faaef992c0c16 (patch)
tree6d999ca6de22ac2df90343b855e4ff42210580b1
parentccccc28c3d19e3fdd9cb9b0c0b9f42213c757398 (diff)
parented51fe5c3d095d307c3ace5c2f3ef37bd1ac80dd (diff)
propagate from branch 'net.randombit.botan' (head cac1d5844682545625a478a31c503e5d6a8f7845)
to branch 'net.randombit.botan.modularized' (head ba38f37ccb4ad93becf3c27c321b09d99846f95a)
-rw-r--r--src/secalloc/allocators/mem_pool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/secalloc/allocators/mem_pool.cpp b/src/secalloc/allocators/mem_pool.cpp
index 0a92997bf..c99d627ad 100644
--- a/src/secalloc/allocators/mem_pool.cpp
+++ b/src/secalloc/allocators/mem_pool.cpp
@@ -20,8 +20,8 @@ namespace {
*************************************************/
struct Memory_Exhaustion : public std::bad_alloc
{
- const char* what()
- { return "Ran out of memory, allocation failed"; }
+ const char* what() const throw()
+ { return "Ran out of memory, allocation failed"; }
};
}