Skip to content

Commit 1c6eabb

Browse files
committed
Tuple fix
1 parent 70dc851 commit 1c6eabb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/msgpack/v1/adaptor/cpp11/tuple.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ struct as<std::tuple<Args...>, typename std::enable_if<msgpack::any_of<msgpack::
116116
msgpack::object const& o) const {
117117
if (o.type != msgpack::type::ARRAY) { throw msgpack::type_error(); }
118118
// <barretenberg>
119-
if ((o.via.array.size != sizeof...(Args)) {
119+
if (o.via.array.size != sizeof...(Args)) {
120120
throw msgpack::unpack_error(std::string("tuple array not right size, got ") + std::to_string(o.via.array.size) + " but expected " + std::to_string(sizeof...(Args)));
121121
}
122122
// </barretenberg>

0 commit comments

Comments
 (0)