summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/debug
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-02 07:53:01 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-02 07:53:01 +0000
commit18fa839793163b58c4cb5b92138ba65bb1394f9f (patch)
treeee1d44def124f77075338acff42ef7c00c4ef75c /libstdc++-v3/include/debug
parent6e61baeb55c72f2311ecd6afe50855bd4cecf135 (diff)
downloadppe42-gcc-18fa839793163b58c4cb5b92138ba65bb1394f9f.tar.gz
ppe42-gcc-18fa839793163b58c4cb5b92138ba65bb1394f9f.zip
2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
* include/debug/functions.h (__foreign_iterator_aux4): Initialize __l and __ge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201426 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/debug')
-rw-r--r--libstdc++-v3/include/debug/functions.h4
1 files changed, 2 insertions, 2 deletions
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())))
OpenPOWER on IntegriCloud