aboutsummaryrefslogtreecommitdiff
path: root/tests/default-options
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-13 21:32:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-14 15:15:03 +0300
commit7eff6adfe294038c723c8059a5993a533551f6cc (patch)
treede9b93470224a163b715747ce61bbdc344a73b5e /tests/default-options
parent1e2e28d3e442ba3c95a5c2b9e5d920c72f6cee43 (diff)
Add load_default_options() function template overload that accepts tracing function
Diffstat (limited to 'tests/default-options')
-rw-r--r--tests/default-options/driver.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/default-options/driver.cxx b/tests/default-options/driver.cxx
index a2ed43d..535df31 100644
--- a/tests/default-options/driver.cxx
+++ b/tests/default-options/driver.cxx
@@ -150,9 +150,11 @@ main (int argc, const char* argv[])
// Load and print the default options.
//
default_options<options> def_ops (
- load_default_options<options, scanner, unknow_mode> (sys_dir,
- home_dir,
- fs));
+ load_default_options<options, scanner, unknow_mode> (
+ sys_dir,
+ home_dir,
+ fs,
+ [] (const path&, bool) {}));
if (print_entries)
{