mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-06-25 22:15:23 +02:00
Merge pull request #894 from redboltz/fix_fusion_warning
Fixed warning on fusion adaptor.
This commit is contained in:
commit
447e8dfb07
@ -111,7 +111,7 @@ struct as<
|
||||
template<std::size_t... Is, typename U>
|
||||
static std::tuple<
|
||||
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...>
|
||||
to_tuple(U const& u, seq<Is...>) {
|
||||
return std::make_tuple(boost::fusion::at_c<Is>(u)...);
|
||||
|
Loading…
x
Reference in New Issue
Block a user