From 7a1475edfb45767729720461422b2c8bd59d4637 Mon Sep 17 00:00:00 2001 From: Matthew Whitlock Date: Thu, 30 May 2024 10:51:31 -0700 Subject: [PATCH] #344 Permit defining intrusive and non-intrusive serializer, call non-intrusive. --- src/checkpoint/dispatch/dispatch_serializer_nonbyte.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checkpoint/dispatch/dispatch_serializer_nonbyte.h b/src/checkpoint/dispatch/dispatch_serializer_nonbyte.h index 7a4a0714..9bc2fd9a 100644 --- a/src/checkpoint/dispatch/dispatch_serializer_nonbyte.h +++ b/src/checkpoint/dispatch/dispatch_serializer_nonbyte.h @@ -91,7 +91,7 @@ struct SerializerDispatchNonByte { template using hasInSerialize = - typename std::enable_if::has_serialize_instrusive, T>::type; + typename std::enable_if::has_serialize_instrusive && !SerializableTraits::has_serialize_noninstrusive, T>::type; template using hasNoninSerialize =