From 7fae3a84a27b81380a10a7ea798205da68e69d53 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 3 Dec 2018 15:11:52 +0300 Subject: Fix to compile with g++ 4.9 --- tests/load/driver.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx index e7a7eaa..a36416b 100644 --- a/tests/load/driver.cxx +++ b/tests/load/driver.cxx @@ -829,7 +829,8 @@ test_pkg_repos (const cstrings& loader_args, assert ( epv->build_constraints == build_constraints ({ - build_constraint (false, "windows**d", "x86_64**", ""), + build_constraint ( + false, "windows**d", optional ("x86_64**"), ""), build_constraint (false, "windows-vc_13**", nullopt, ""), build_constraint (true, "**", nullopt, "Only supported on Windows.")})); -- cgit v1.1