forked from boostorg/regex
regex: minor fixes
[SVN r8638]
This commit is contained in:
@ -196,6 +196,5 @@ template test_string_type regex_merge(const test_string_type&,
|
||||
#include "libs/regex/src/regex.cpp"
|
||||
#include "libs/regex/src/regex_debug.cpp"
|
||||
#include "libs/regex/src/regex_synch.cpp"
|
||||
#include "libs/regex/src/wide_posix_api.cpp"
|
||||
|
||||
|
||||
|
@ -188,7 +188,6 @@ template test_string_type regex_merge(const test_string_type&,
|
||||
#include "libs/regex/src/c_regex_traits_common.cpp"
|
||||
#include "libs/regex/src/cregex.cpp"
|
||||
#include "libs/regex/src/fileiter.cpp"
|
||||
#include "libs/regex/src/posix_api.cpp"
|
||||
#include "libs/regex/src/regex.cpp"
|
||||
#include "libs/regex/src/regex_debug.cpp"
|
||||
#include "libs/regex/src/regex_synch.cpp"
|
||||
|
@ -45,7 +45,6 @@ BOOST_RE_IX_DECL int BOOST_RE_CCALL regcompA(regex_tA* expression, const char* p
|
||||
expression->guts = new regex();
|
||||
} catch(...)
|
||||
{
|
||||
delete (regex*)(expression->guts);
|
||||
return REG_ESPACE;
|
||||
}
|
||||
}
|
||||
|
@ -55,7 +55,6 @@ BOOST_RE_IX_DECL int BOOST_RE_CCALL regcompW(regex_tW* expression, const wchar_t
|
||||
expression->guts = new wregex();
|
||||
} catch(...)
|
||||
{
|
||||
delete (wregex*)(expression->guts);
|
||||
return REG_ESPACE;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user