Ticket #9902: 0001-tuple-fix-GCC-4.8-Wunused-local-typedefs-warning.patch

File 0001-tuple-fix-GCC-4.8-Wunused-local-typedefs-warning.patch, 931 bytes (added by mstahl@…, 9 years ago)
  • include/boost/tuple/detail/tuple_basic.hpp

    From 3a3e43ddad0d7f5401d85a72d8d2e128a07d62c6 Mon Sep 17 00:00:00 2001
    From: Michael Stahl <mstahl@redhat.com>
    Date: Mon, 14 Apr 2014 12:46:12 +0200
    Subject: [PATCH] tuple: fix GCC 4.8 -Wunused-local-typedefs warning
    
    Signed-off-by: Michael Stahl <mstahl@redhat.com>
    ---
     include/boost/tuple/detail/tuple_basic.hpp | 1 -
     1 file changed, 1 deletion(-)
    
    diff --git a/include/boost/tuple/detail/tuple_basic.hpp b/include/boost/tuple/detail/tuple_basic.hpp
    index 88f0d90..5f3c78f 100644
    a b inline typename access_traits<  
    225225get(const cons<HT, TT>& c BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int, N)) {
    226226  typedef BOOST_DEDUCED_TYPENAME detail::drop_front<N>::BOOST_NESTED_TEMPLATE
    227227      apply<cons<HT, TT> > impl;
    228   typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
    229228  return impl::call(c).head;
    230229}
    231230