Skip to content

Commit

Permalink
#1983: sizing: fix overly aggressive serialization condition
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Oct 24, 2022
1 parent 57fd467 commit 03127a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/vt/serialization/sizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ struct MsgSizer<
MsgT,
typename std::enable_if_t<true
and ::vt::messaging::msg_defines_serialize_mode<MsgT>::value
and (::vt::messaging::msg_serialization_mode<MsgT>::supported
or ::vt::messaging::msg_serialization_mode<MsgT>::required)
// ::vt::messaging::has_own_serialize<MsgT>
and ::vt::messaging::msg_serialization_mode<MsgT>::required
>
> {
static std::size_t get(MsgT* msg) {
Expand Down

0 comments on commit 03127a1

Please sign in to comment.