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

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

From-SVN: r201426

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

index 4ec4343d3393c1aa8d56d39b8707188bee966404..8c820956523eac9125f8e11b6ce81515d848a112 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-02  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/debug/functions.h (__foreign_iterator_aux4):
+       Initialize __l and __ge.
+
 2013-08-02  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR libstdc++/58049
index 463353e0fc43ce7b88a9205fd788504b314b485e..08a6be4ec3b7c29f646edd4bb58b075394af9525 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())))