From e1156b933ce5f35703ee4b59ab5a364f6d670899 Mon Sep 17 00:00:00 2001 From: "Kevin R. Thornton" Date: Mon, 2 Oct 2023 13:42:11 -0700 Subject: [PATCH] Fix "vexing parse". Closes #1184 --- cpp_neutral_benchmark/cpp_neutral_benchmark.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp_neutral_benchmark/cpp_neutral_benchmark.cc b/cpp_neutral_benchmark/cpp_neutral_benchmark.cc index 098c1b2b2..5c2109812 100644 --- a/cpp_neutral_benchmark/cpp_neutral_benchmark.cc +++ b/cpp_neutral_benchmark/cpp_neutral_benchmark.cc @@ -179,7 +179,7 @@ simulate(const command_line_options& options) nullptr); fwdpy11::dgvalue_pointer_vector_ gvalue_pointers(fitness); - fwdpy11::no_ancient_samples no_ancient_samples(); + fwdpy11::no_ancient_samples no_ancient_samples{}; RecordNothing record_nothing; fwdpy11::SampleRecorder sample_recorder;