functions.h (__foreign_iterator_aux4): Initialize __l and __ge.
authorPaolo Carlini <paolo@gcc.gnu.org>
Fri, 2 Aug 2013 08:12:20 +0000 (08:12 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 2 Aug 2013 08:12:20 +0000 (08:12 +0000)
2013-08-02  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/functions.h (__foreign_iterator_aux4):
Initialize __l and __ge.

From-SVN: r201428

libstdc++-v3/include/debug/functions.h

index 08a6be4ec3b7c29f646edd4bb58b075394af9525..f4e6377e14afa304de9e53301ca06c10cd258c9b 100644 (file)
@@ -183,8 +183,8 @@ namespace __gnu_debug
     {
       typedef typename std::common_type<_PointerType1,
                                        _PointerType2>::type _PointerType;
-      constexpr std::less<_PointerType> __l = {};
-      constexpr std::greater_equal<_PointerType> __ge = {};
+      constexpr std::less<_PointerType> __l{};
+      constexpr std::greater_equal<_PointerType> __ge{};
 
       return (__l(std::addressof(*__other),
                  std::addressof(*(__it._M_get_sequence()->_M_base().begin())))