Opened 9 years ago

Closed 9 years ago

#9110 closed Bugs (fixed)

Warning in fusion map with -Wshadow

Reported by: Mathias Gaunard Owned by: Joel de Guzman
Milestone: To Be Determined Component: fusion
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

/home/nt2/dev/boost/trunk/boost/fusion/container/map/detail/map_impl.hpp: In constructor ‘boost::fusion::detail::map_impl<index_, Pair, T ...>::map_impl(typename boost::fusion::detail::call_param<T1>::type, typename boost::fusion::detail::call_param<T>::type ...)’:
/home/nt2/dev/boost/trunk/boost/fusion/container/map/detail/map_impl.hpp:87:11: warning: declaration of ‘element’ shadows a member of 'this' [-Wshadow]
/home/nt2/dev/boost/trunk/boost/fusion/container/map/detail/map_impl.hpp: In constructor ‘boost::fusion::detail::map_impl<index_, Pair, T ...>::map_impl(Pair&&, T&& ...)’:
/home/nt2/dev/boost/trunk/boost/fusion/container/map/detail/map_impl.hpp:91:11: warning: declaration of ‘element’ shadows a member of 'this' [-Wshadow]

Change History (1)

comment:1 by aberge, 9 years ago

Resolution: fixed
Status: newclosed

(In [86165]) Fixes #9110

Note: See TracTickets for help on using tickets.