]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/debug/map.h
[multiple changes]
[thirdparty/gcc.git] / libstdc++-v3 / include / debug / map.h
index 1254e42257b58f5b0e74414a1f1901a3cdc74b5b..0159bcb79f7cda3df8e4f6d0f0bcec5bcd73f4a9 100644 (file)
@@ -81,7 +81,9 @@ namespace __debug
         map(_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), _Safe_base() { }
 
       map(const map& __x)
@@ -226,7 +228,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__