Luna::VariantUtils::patch
void patch(Variant &before, const Variant &delta)
Applys the difference to the variant, so that it contains the same data as after
when the diff object is created.
Parameters
-
in before
The variant to patch.
-
in delta
The delta variant returned by diff.
Return value
Returns the patched variant object.