Added more error checking for no-eh builds.

[SVN r12870]
This commit is contained in:
John Maddock committed 2002-02-21 11:30:41 +00:00
1 parent b55cce9a42
commit 11accf4a8b
6 files changed
+14 -1

No files matched your search

@@ -85,6 +85,7 @@ public:
node* BOOST_REGEX_CALL get_node()
{
node* new_stack = reinterpret_cast<node*>(alloc_inst.allocate(sizeof(node) + sizeof(T) * block_size));
BOOST_REGEX_NOEH_ASSERT(new_stack)
new_stack->last = reinterpret_cast<T*>(new_stack+1);
new_stack->start = new_stack->end = new_stack->last + block_size;
new_stack->next = 0;