summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/utils.cc b/src/utils.cc
index 2f64bb0a..5260fd42 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -603,7 +603,12 @@ void logger_func(log_level_t level)
namespace ledger {
-optional<std::string> _log_category;
+optional<std::string> _log_category;
+#if defined(HAVE_BOOST_REGEX_UNICODE)
+optional<boost::u32regex> _log_category_re;
+#else
+optional<boost::regex> _log_category_re;
+#endif
struct __maybe_enable_debugging {
__maybe_enable_debugging() {