mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-11-09 15:53:58 +01:00
Fixed warning on fusion adaptor.
This commit is contained in:
@@ -111,7 +111,7 @@ struct as<
|
|||||||
template<std::size_t... Is, typename U>
|
template<std::size_t... Is, typename U>
|
||||||
static std::tuple<
|
static std::tuple<
|
||||||
typename std::remove_reference<
|
typename std::remove_reference<
|
||||||
typename boost::fusion::result_of::at_c<T, Is>::type
|
typename boost::fusion::result_of::at_c<T, static_cast<int>(Is)>::type
|
||||||
>::type...>
|
>::type...>
|
||||||
to_tuple(U const& u, seq<Is...>) {
|
to_tuple(U const& u, seq<Is...>) {
|
||||||
return std::make_tuple(boost::fusion::at_c<Is>(u)...);
|
return std::make_tuple(boost::fusion::at_c<Is>(u)...);
|
||||||
|
|||||||
Reference in New Issue
Block a user