diff --git a/tests/library/diff/generic-record-representation-test.cpp b/tests/library/diff/generic-record-representation-test.cpp index c20488515..3ae9245a5 100644 --- a/tests/library/diff/generic-record-representation-test.cpp +++ b/tests/library/diff/generic-record-representation-test.cpp @@ -275,7 +275,7 @@ namespace test{ mut.appendChild("a"); mut.set("a", "1"); - RecS aa(std::move(mut)); + RecS aa(mut); CHECK (a != aa); CHECK ("u" == aa.getType()); CHECK (Seq({"type=u", "a=1", "a"}) == contents(aa));