summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-07 03:38:24 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-07 03:38:24 -0600
commit150ca971add9377d8afc2b88dd8efb840a19cb9a (patch)
treeb645b0fd991dcbede1862d5bdd441ecce2b1634f /src
parentc86bbd45471ab4ef5d0dd133f6923596230975da (diff)
downloadfork-ledger-150ca971add9377d8afc2b88dd8efb840a19cb9a.tar.gz
fork-ledger-150ca971add9377d8afc2b88dd8efb840a19cb9a.tar.bz2
fork-ledger-150ca971add9377d8afc2b88dd8efb840a19cb9a.zip
Call boost::regex, not boost::make_regex
Diffstat (limited to 'src')
-rw-r--r--src/utils.h4
1 files changed, 2 insertions, 2 deletions
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)