From 9e2414a9dfa59c6b5cc9ea447c2b15cb173ea498 Mon Sep 17 00:00:00 2001 From: Alex Robenko Date: Thu, 5 Dec 2024 09:33:33 +1000 Subject: [PATCH] Restoring original assign behaviour. --- include/comms/util/details/AssignHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/comms/util/details/AssignHelper.h b/include/comms/util/details/AssignHelper.h index b74c244..6ddf459 100644 --- a/include/comms/util/details/AssignHelper.h +++ b/include/comms/util/details/AssignHelper.h @@ -112,7 +112,7 @@ class AssignHelper using PointerType = typename ObjType::pointer; auto fromPtr = const_cast(reinterpret_cast(&(*from))); auto toPtr = const_cast(reinterpret_cast(&(*to))); - assignInternal(obj, from, to, UsePtrSizeConstructorTag()); + assignInternal(obj, fromPtr, toPtr, UsePtrSizeConstructorTag()); } };