From 7dec245a8c70c71449ce4fc09a4cb854596f9a2b Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Fri, 2 Aug 2013 07:53:01 +0000 Subject: [PATCH] functions.h (__foreign_iterator_aux4): Initialize __l and __ge. 2013-08-02 Paolo Carlini * include/debug/functions.h (__foreign_iterator_aux4): Initialize __l and __ge. From-SVN: r201426 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/debug/functions.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4ec4343d339..8c820956523 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2013-08-02 Paolo Carlini + + * include/debug/functions.h (__foreign_iterator_aux4): + Initialize __l and __ge. + 2013-08-02 Paolo Carlini PR libstdc++/58049 diff --git a/libstdc++-v3/include/debug/functions.h b/libstdc++-v3/include/debug/functions.h index 463353e0fc4..08a6be4ec3b 100644 --- a/libstdc++-v3/include/debug/functions.h +++ b/libstdc++-v3/include/debug/functions.h @@ -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()))) -- 2.30.2