Skip to content

Commit

Permalink
Fix Variant bug in pack_pair() (#3725)
Browse files Browse the repository at this point in the history
Fixes #3711
  • Loading branch information
kodiakhq[bot] authored May 22, 2020
2 parents 4e578cd + 48f0423 commit cb2385f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script_interface/Variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ inline bool is_none(Variant const &v) { return is_type<None>(v); }

template <typename T, typename U>
std::vector<Variant> pack_pair(const std::pair<T, U> &pair) {
return {{pair.first, pair.second}};
return {pair.first, pair.second};
}

template <typename T, typename U>
Expand Down

0 comments on commit cb2385f

Please sign in to comment.