semantics change: allow referral just by ID
i.e. flat match, not deep equality. This allows to send just an Ref (with the ID) over the wire to refer to an complete object to be picked, moved or deleted on the receiver side.
This commit is contained in:
parent
b149432512
commit
73eaa10caf
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ namespace diff{
|
|||
throw error::State(_Fmt("Unable to %s element %s from target as demanded; "
|
||||
"no (further) elements in target sequence") % oper % elm
|
||||
, LUMIERA_ERROR_DIFF_CONFLICT);
|
||||
if (*srcPos() != elm)
|
||||
if (not srcPos()->matches(elm))
|
||||
throw error::State(_Fmt("Unable to %s element %s from target as demanded; "
|
||||
"found element %s on current target position instead")
|
||||
% oper % elm % *srcPos()
|
||||
|
|
|
|||
Loading…
Reference in a new issue