forked from boostorg/regex
Finally fixed non-recursive algorithm - should now be fully usable, and is now emabled by default on non-win32 platforms.
Fixed a couple of buglets in the regex comparison benchmarks. [SVN r18191]
This commit is contained in:
1 parent
180c7d64a2
commit
125c0f99fb
3 files changed
+5
-9
No files matched your search
@@ -438,12 +438,6 @@ void raise_error(const traits& t, unsigned code)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef BOOST_REGEX_NON_RECURSIVE
|
||||
// non-recursive mode is currently too fragile to
|
||||
// auto-select, this will be removed before release:
|
||||
# define BOOST_REGEX_RECURSIVE
|
||||
#endif
|
||||
|
||||
#if !defined(BOOST_REGEX_RECURSIVE) && !defined(BOOST_REGEX_NON_RECURSIVE)
|
||||
# ifdef BOOST_REGEX_HAS_MS_STACK_GUARD
|
||||
# define BOOST_REGEX_RECURSIVE
|
||||
|
||||
@@ -80,6 +80,7 @@ struct mem_block_cache
|
||||
mem_block_node* old = static_cast<mem_block_node*>(p);
|
||||
old->next = next;
|
||||
next = old;
|
||||
++cached_blocks;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user