aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <paolo@gcc.gnu.org>2013-08-02 08:12:20 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2013-08-02 08:12:20 +0000
commit257e6ab3df37d92d933a404ec0a5a02f39141aa3 (patch)
tree2ea5ee7ebd1fd351319f15c8169819c3b4425153
parentab0bc602236eb8ef5660693daefdf9bc1ab583a7 (diff)
downloadgcc-257e6ab3df37d92d933a404ec0a5a02f39141aa3.zip
gcc-257e6ab3df37d92d933a404ec0a5a02f39141aa3.tar.gz
gcc-257e6ab3df37d92d933a404ec0a5a02f39141aa3.tar.bz2
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
-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 08a6be4..f4e6377 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())))