From 150ca971add9377d8afc2b88dd8efb840a19cb9a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 7 Mar 2012 03:38:24 -0600 Subject: Call boost::regex, not boost::make_regex --- src/utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index e37f37aa..b2298ce6 100644 --- a/src/utils.h +++ b/src/utils.h @@ -353,8 +353,8 @@ inline bool category_matches(const char * cat) { boost::make_u32regex(_log_category->c_str(), boost::regex::perl | boost::regex::icase); #else - boost::make_regex(_log_category->c_str(), - boost::regex::perl | boost::regex::icase); + boost::regex(_log_category->c_str(), + boost::regex::perl | boost::regex::icase); #endif } #if defined(HAVE_BOOST_REGEX_UNICODE) -- cgit v1.2.3