Call boost::regex, not boost::make_regex

This commit is contained in:
John Wiegley 2012-03-07 03:38:24 -06:00
parent c86bbd4547
commit 150ca971ad

View file

@ -353,7 +353,7 @@ inline bool category_matches(const char * cat) {
boost::make_u32regex(_log_category->c_str(), boost::make_u32regex(_log_category->c_str(),
boost::regex::perl | boost::regex::icase); boost::regex::perl | boost::regex::icase);
#else #else
boost::make_regex(_log_category->c_str(), boost::regex(_log_category->c_str(),
boost::regex::perl | boost::regex::icase); boost::regex::perl | boost::regex::icase);
#endif #endif
} }