Skip to content

Commit

Permalink
Fix "vexing parse".
Browse files Browse the repository at this point in the history
Closes #1184
  • Loading branch information
molpopgen committed Oct 2, 2023
1 parent 86de5c9 commit e1156b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp_neutral_benchmark/cpp_neutral_benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e1156b9

Please sign in to comment.