From 180c7d64a28dd25f4f513046ac9ff87129398a8a Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 5 Apr 2003 10:21:51 +0000 Subject: [PATCH] finishing off non-recursive memory management [SVN r18186] --- src/regex.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/regex.cpp b/src/regex.cpp index b89708dd..34d45b8a 100644 --- a/src/regex.cpp +++ b/src/regex.cpp @@ -104,16 +104,6 @@ BOOST_REGEX_DECL void BOOST_REGEX_CALL raise_regex_exception(const std::string& #if defined(BOOST_REGEX_NON_RECURSIVE) && !defined(BOOST_REGEX_V3) -BOOST_REGEX_DECL void* BOOST_REGEX_CALL get_mem_block() -{ - return ::operator new(BOOST_REGEX_BLOCKSIZE); -} - -BOOST_REGEX_DECL void BOOST_REGEX_CALL release_mem_block(void* p) -{ - ::operator delete(p); -} - mem_block_cache block_cache = { 0, }; #endif