Skip to content

Commit

Permalink
utils/test: serde_fields for uuid_test::uuid_struct
Browse files Browse the repository at this point in the history
  • Loading branch information
oleiman committed Aug 21, 2024
1 parent e2adc52 commit 82d1b25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/v/utils/tests/uuid_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ struct uuid_struct
std::optional<uuid_t> opt2;
std::vector<uuid_t> vec;
std::vector<std::optional<uuid_t>> opt_vec;

auto serde_fields() { return std::tie(single, opt1, opt2, vec, opt_vec); }
};

template<typename map_t>
Expand Down

0 comments on commit 82d1b25

Please sign in to comment.