Changed assert code to try and clear up a mysterious sunpro problem.

[SVN r26958]
This commit is contained in:
John Maddock
2005-01-31 11:06:54 +00:00
parent 40735d5630
commit dbb39f3589

View File

@ -561,7 +561,7 @@ typename cpp_regex_traits_implementation<charT>::string_type
while(result.size() && (charT(0) == *result.rbegin()))
result.erase(result.size() - 1);
#endif
BOOST_ASSERT(result.find(charT(0)) == string_type::npos);
BOOST_ASSERT(std::find(result.begin(), result.end(), charT(0)) == result.end());
}
catch(...)
{