From 182616ea25ec2e423f30dbae8c58fdb99e639361 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 30 Sep 2003 11:39:41 +0000 Subject: [PATCH] Changed char_type to be the type used by the regex object not the iterator - allows code to compile where the iterator enumerates types that are different to the regex type. [SVN r20228] --- include/boost/regex/v4/perl_matcher.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/v4/perl_matcher.hpp b/include/boost/regex/v4/perl_matcher.hpp index a45d6cc5..9ba41274 100644 --- a/include/boost/regex/v4/perl_matcher.hpp +++ b/include/boost/regex/v4/perl_matcher.hpp @@ -271,7 +271,7 @@ template class perl_matcher { public: - typedef typename boost::re_detail::regex_iterator_traits::value_type char_type; + typedef typename traits::char_type char_type; typedef perl_matcher self_type; typedef bool (self_type::*matcher_proc_type)(void); typedef access_t access;