Skip to content

Commit

Permalink
fix variant [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vo-nil committed Dec 12, 2024
1 parent 6ebb7f6 commit 4568cf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ namespace nil::crypto3 {
using base_impl_type
= detail::adapt_basic_field_type<detail::basic_variant<TFieldBase, TMembers>, TOptions...>;

static_assert(nil::crypto3::detail::is_tuple<TMembers>::value,
static_assert(marshalling::detail::is_tuple<TMembers>::value,
"TMembers is expected to be a tuple of std::tuple<...>");

static_assert(1U < std::tuple_size<TMembers>::value, "Number of members is expected to be at least 2.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ namespace nil::crypto3 {
std::size_t memIdx_ = members_count;

static const std::size_t members_count = std::tuple_size<members_type>::value;
static_assert(nil::crypto3::detail::is_tuple<members_type>::value,
static_assert(marshalling::detail::is_tuple<members_type>::value,
"value_type must be tuple");
static_assert(0U < members_count, "value_type must be non-empty tuple");
};
Expand Down

0 comments on commit 4568cf3

Please sign in to comment.