From f79f4cd82fea436ab1808e789279a44be3d9955f Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sun, 14 Jun 2015 22:34:22 +0200 Subject: [PATCH] WIP: fix -- revert back I had added this variation just to check compilation and forgot to revert ist. Of course, we do *not* want to move the inwards of our Mutator in the test. Rather, we want to draw a copy from the mutated state --- tests/library/diff/generic-record-representation-test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));