From 25d57dbe3e35d38800f0132a72ea1537e965e3e2 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 16 Feb 2001 12:03:48 +0000 Subject: [PATCH] Fixed minor typedef typo [SVN r9226] --- include/boost/re_detail/regex_config.hpp | 4 ++-- include/boost/regex.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/re_detail/regex_config.hpp b/include/boost/re_detail/regex_config.hpp index 616f6174..507e0cfc 100644 --- a/include/boost/re_detail/regex_config.hpp +++ b/include/boost/re_detail/regex_config.hpp @@ -290,8 +290,8 @@ Do not change this file unless you really really have to, add options to // // for now we'll always define these // unless we know that the platform can cope - // with woide character strings: - #if !defined(linux) + // with wide character strings: + #if !defined(linux) #define BOOST_RE_NO_WCTYPE_H #define BOOST_RE_NO_WCSTRING #endif diff --git a/include/boost/regex.hpp b/include/boost/regex.hpp index 092b4e8b..379024c0 100644 --- a/include/boost/regex.hpp +++ b/include/boost/regex.hpp @@ -837,7 +837,7 @@ class match_results_base public: typedef Allocator alloc_type; typedef BOOST_RE_MAYBE_TYPENAME REBIND_TYPE(iterator, Allocator) iterator_alloc; - typedef iterator_alloc::size_type size_type; + typedef typename iterator_alloc::size_type size_type; #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION typedef typename std::iterator_traits::difference_type difference_type; typedef typename std::iterator_traits::value_type char_type;