Merge pull request #894 from redboltz/fix_fusion_warning

Fixed warning on fusion adaptor.
This commit is contained in:
Takatoshi Kondo 2020-07-02 09:48:56 +09:00 committed by GitHub
commit 447e8dfb07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)...);