aboutsummaryrefslogtreecommitdiff
path: root/tests/load/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-12-03 15:11:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-12-03 15:11:52 +0300
commit7fae3a84a27b81380a10a7ea798205da68e69d53 (patch)
treee144b5db9a4adca8448d2ae45ee00c9c0af3462d /tests/load/driver.cxx
parentd58e2553e36852bb9dc1d0e67b013599428352ca (diff)
Fix to compile with g++ 4.9
Diffstat (limited to 'tests/load/driver.cxx')
-rw-r--r--tests/load/driver.cxx3
1 files changed, 2 insertions, 1 deletions
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<string> ("x86_64**"), ""),
build_constraint (false, "windows-vc_13**", nullopt, ""),
build_constraint (true, "**", nullopt, "Only supported on Windows.")}));