From 6e1f59670b7aaabb27830a345aad9532af111016 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 8 Nov 2016 13:35:13 +0300 Subject: Get rid of faulty test script move-ctor --- unit-tests/test/script/parser/driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unit-tests/test') diff --git a/unit-tests/test/script/parser/driver.cxx b/unit-tests/test/script/parser/driver.cxx index deb9994..badb658 100644 --- a/unit-tests/test/script/parser/driver.cxx +++ b/unit-tests/test/script/parser/driver.cxx @@ -165,8 +165,8 @@ namespace build2 // Parse and run. // parser p; - script s ( - p.pre_parse (cin, st, tt, dir_path (work) /= "test-driver")); + script s (tt, st, dir_path (work) /= "test-driver"); + p.pre_parse (cin, s); print_runner r (scope, id); p.parse (s, r); -- cgit v1.1