Skip to content

Commit

Permalink
Merge pull request #85 from EOSIO/variant-gcc-v1.6.x
Browse files Browse the repository at this point in the history
mutable_variant_object fix for GCC 7 - v1.6.x
  • Loading branch information
heifner authored Apr 26, 2019
2 parents 456b588 + f5b1741 commit 16aa149
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/fc/variant_object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ namespace fc
///@}


template<typename T>
template<typename T,
typename = std::enable_if_t<!std::is_base_of<mutable_variant_object,
std::decay_t<T>>::value>>
explicit mutable_variant_object( T&& v )
:_key_value( new std::vector<entry>() )
{
Expand Down

0 comments on commit 16aa149

Please sign in to comment.