mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 14:22:08 +02:00
Changed assert code to try and clear up a mysterious sunpro problem.
[SVN r26958]
This commit is contained in:
@ -561,7 +561,7 @@ typename cpp_regex_traits_implementation<charT>::string_type
|
|||||||
while(result.size() && (charT(0) == *result.rbegin()))
|
while(result.size() && (charT(0) == *result.rbegin()))
|
||||||
result.erase(result.size() - 1);
|
result.erase(result.size() - 1);
|
||||||
#endif
|
#endif
|
||||||
BOOST_ASSERT(result.find(charT(0)) == string_type::npos);
|
BOOST_ASSERT(std::find(result.begin(), result.end(), charT(0)) == result.end());
|
||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user