From c4613963faa4bb03dbb5e42b419c8f82e3e6d2d8 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 21 Dec 2014 19:05:00 +0100 Subject: [PATCH] Add missing using declarations This fixes using std::tr1::regex for non-MSVC compilers. --- src/support/regex.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/support/regex.h b/src/support/regex.h index 125befcf1a..96d6836e23 100644 --- a/src/support/regex.h +++ b/src/support/regex.h @@ -62,6 +62,11 @@ namespace lyx { # define match_partial match_default # endif # define LR_NS std::tr1 +namespace lyx { +using LR_NS::regex; +using LR_NS::regex_match; +using LR_NS::sregex_iterator; +} #else # include # define LR_NS boost -- 2.39.2