Ticket #10679: boost-fusion-define-struct-inline-avoid-unused-parameter-warning.patch

File boost-fusion-define-struct-inline-avoid-unused-parameter-warning.patch, 1.3 KB (added by anonymous, 8 years ago)
  • include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp

    diff --git a/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp b/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp
    index 87ab09f..77e02fb 100644
    a b  
    392392                typename boost_fusion_detail_It1::index                         \
    393393            >::type type;                                                       \
    394394                                                                                \
    395              BOOST_FUSION_GPU_ENABLED                                           \
    396              static type call(boost_fusion_detail_It1 const& it1,               \
    397                               boost_fusion_detail_It2 const& it2)               \
     395            BOOST_FUSION_GPU_ENABLED                                            \
     396            static type call(boost_fusion_detail_It1 const& /* it1 */,          \
     397                             boost_fusion_detail_It2 const& /* it2 */)          \
    398398            {                                                                   \
    399399                return type();                                                  \
    400400            }                                                                   \