From aba7b40d6785483831ee5968a66bc51c4ee82ae1 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Sat, 2 Dec 2006 00:31:34 +0000 Subject: [PATCH] mt_allocator.h (__pool_base::_M_get_align): Remove redundant const qualifier on the return type. 2006-12-01 Paolo Carlini * include/ext/mt_allocator.h (__pool_base::_M_get_align): Remove redundant const qualifier on the return type. From-SVN: r119435 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/ext/mt_allocator.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 431845ba7fe7..32685cbfa161 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2006-12-01 Paolo Carlini + + * include/ext/mt_allocator.h (__pool_base::_M_get_align): Remove + redundant const qualifier on the return type. + 2006-11-29 Benjamin Kosnik * include/ext/throw_allocator.h: Consistent @file markup. diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index bc2d61f6eecd..6083cdb9c250 100644 --- a/libstdc++-v3/include/ext/mt_allocator.h +++ b/libstdc++-v3/include/ext/mt_allocator.h @@ -151,7 +151,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) _M_get_binmap(size_t __bytes) { return _M_binmap[__bytes]; } - const size_t + size_t _M_get_align() { return _M_options._M_align; } -- 2.47.2