diff options
Diffstat (limited to 'libstdc++-v3/include/debug/multimap.h')
-rw-r--r-- | libstdc++-v3/include/debug/multimap.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libstdc++-v3/include/debug/multimap.h b/libstdc++-v3/include/debug/multimap.h index 32a54290406..5c45ee6bd5d 100644 --- a/libstdc++-v3/include/debug/multimap.h +++ b/libstdc++-v3/include/debug/multimap.h @@ -82,7 +82,9 @@ namespace __debug multimap(_InputIterator __first, _InputIterator __last, const _Compare& __comp = _Compare(), const _Allocator& __a = _Allocator()) - : _Base(__gnu_debug::__check_valid_range(__first, __last), __last, + : _Base(__gnu_debug::__base(__gnu_debug::__check_valid_range(__first, + __last)), + __gnu_debug::__base(__last), __comp, __a) { } multimap(const multimap& __x) @@ -93,7 +95,7 @@ namespace __debug #ifdef __GXX_EXPERIMENTAL_CXX0X__ multimap(multimap&& __x) - : _Base(std::forward<multimap>(__x)), _Safe_base() + : _Base(std::move(__x)), _Safe_base() { this->_M_swap(__x); } multimap(initializer_list<value_type> __l, @@ -213,7 +215,8 @@ namespace __debug insert(_InputIterator __first, _InputIterator __last) { __glibcxx_check_valid_range(__first, __last); - _Base::insert(__first, __last); + _Base::insert(__gnu_debug::__base(__first), + __gnu_debug::__base(__last)); } #ifdef __GXX_EXPERIMENTAL_CXX0X__ |