Skip to content

Commit

Permalink
Fix Variant bug revealed by boost 1.73
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed May 22, 2020
1 parent 11a4d7f commit f1286e4
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 f1286e4

Please sign in to comment.