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