diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-07 03:38:24 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-07 03:38:24 -0600 |
commit | 150ca971add9377d8afc2b88dd8efb840a19cb9a (patch) | |
tree | b645b0fd991dcbede1862d5bdd441ecce2b1634f | |
parent | c86bbd45471ab4ef5d0dd133f6923596230975da (diff) | |
download | fork-ledger-150ca971add9377d8afc2b88dd8efb840a19cb9a.tar.gz fork-ledger-150ca971add9377d8afc2b88dd8efb840a19cb9a.tar.bz2 fork-ledger-150ca971add9377d8afc2b88dd8efb840a19cb9a.zip |
Call boost::regex, not boost::make_regex
-rw-r--r-- | src/utils.h | 4 |
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) |