Fixes #184 ("Issues with custom exceptions implementation")

This commit is contained in:
Ion Gaztañaga
2021-04-19 21:52:55 +02:00
parent 2073b125f4
commit 16cada57ea
10 changed files with 67 additions and 53 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ class shared_node_pool
~shared_node_pool()
{}
//!Allocates array of count elements. Can throw std::bad_alloc
//!Allocates array of count elements. Can throw bad_alloc
void *allocate_node()
{
//-----------------------
@@ -101,7 +101,7 @@ class shared_node_pool
}
//!Allocates a singly linked list of n nodes ending in null pointer.
//!can throw std::bad_alloc
//!can throw bad_alloc
void allocate_nodes(const std::size_t n, multiallocation_chain &chain)
{
//-----------------------