functions.h (__foreign_iterator_aux4): Initialize __l and __ge.
2013-08-02 Paolo Carlini <paolo.carlini@oracle.com> * include/debug/functions.h (__foreign_iterator_aux4): Initialize __l and __ge. From-SVN: r201426
This commit is contained in:
parent
a1a0abac54
commit
7dec245a8c
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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())))
|
||||
|
|
Loading…
Add table
Reference in a new issue