Skip to content

Commit

Permalink
Restoring original assign behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
arobenko committed Dec 4, 2024
1 parent 56d2777 commit 9e2414a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/comms/util/details/AssignHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class AssignHelper
using PointerType = typename ObjType::pointer;
auto fromPtr = const_cast<PointerType>(reinterpret_cast<ConstPointerType>(&(*from)));
auto toPtr = const_cast<PointerType>(reinterpret_cast<ConstPointerType>(&(*to)));
assignInternal(obj, from, to, UsePtrSizeConstructorTag<TParams...>());
assignInternal(obj, fromPtr, toPtr, UsePtrSizeConstructorTag<TParams...>());
}
};

Expand Down

0 comments on commit 9e2414a

Please sign in to comment.