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
This commit is contained in:
Paolo Carlini 2013-08-02 08:12:20 +00:00
parent ab0bc60223
commit 257e6ab3df
1 changed files with 2 additions and 2 deletions

View 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())))