Skip to content

Commit

Permalink
#344 Permit defining intrusive and non-intrusive serializer, call non…
Browse files Browse the repository at this point in the history
…-intrusive.
  • Loading branch information
Matthew-Whitlock committed Aug 29, 2024
1 parent 07133d3 commit c7f640d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/checkpoint/dispatch/dispatch_serializer_nonbyte.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct SerializerDispatchNonByte {

template <typename U>
using hasInSerialize =
typename std::enable_if<SerializableTraits<U,S>::has_serialize_instrusive, T>::type;
typename std::enable_if<SerializableTraits<U,S>::has_serialize_instrusive && !SerializableTraits<U,S>::has_serialize_noninstrusive, T>::type;

template <typename U>
using hasNoninSerialize =
Expand Down

0 comments on commit c7f640d

Please sign in to comment.