aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/regex.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2011-12-23 01:47:41 +0000
committerJonathan Wakely <jwakely.gcc@gmail.com>2011-12-23 01:47:41 +0000
commit94ac3051f143825fd4437c5cd0b800bb49de32eb (patch)
treee6bf4c5d70844e619d4ed2d487cc7c14a47b8d0e /libstdc++-v3/include/bits/regex.h
parent3c8d4e285109ff52754ac5afc13bf6d17a773cd6 (diff)
* include/bits/regex.h (match_results::size_type): Use
allocator_traits. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@182645 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/regex.h')
-rw-r--r--libstdc++-v3/include/bits/regex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/regex.h b/libstdc++-v3/include/bits/regex.h
index cc1abccaba0..645011df686 100644
--- a/libstdc++-v3/include/bits/regex.h
+++ b/libstdc++-v3/include/bits/regex.h
@@ -1490,8 +1490,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
typedef const_iterator iterator;
typedef typename std::iterator_traits<_Bi_iter>::difference_type
difference_type;
- /* TODO: needs allocator_traits */
- typedef typename _Allocator::size_type size_type;
+ typedef typename allocator_traits<_Allocator>::size_type
+ size_type;
typedef _Allocator allocator_type;
typedef typename std::iterator_traits<_Bi_iter>::value_type
char_type;