Commit 257e6ab3 by Paolo Carlini

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: r201428
parent ab0bc602
...@@ -183,8 +183,8 @@ namespace __gnu_debug ...@@ -183,8 +183,8 @@ namespace __gnu_debug
{ {
typedef typename std::common_type<_PointerType1, typedef typename std::common_type<_PointerType1,
_PointerType2>::type _PointerType; _PointerType2>::type _PointerType;
constexpr std::less<_PointerType> __l = {}; constexpr std::less<_PointerType> __l{};
constexpr std::greater_equal<_PointerType> __ge = {}; constexpr std::greater_equal<_PointerType> __ge{};
return (__l(std::addressof(*__other), return (__l(std::addressof(*__other),
std::addressof(*(__it._M_get_sequence()->_M_base().begin()))) std::addressof(*(__it._M_get_sequence()->_M_base().begin())))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment