Skip to content

Commit

Permalink
Fixed missing initializer warning
Browse files Browse the repository at this point in the history
  • Loading branch information
iboB committed Mar 21, 2023
1 parent 030f1c0 commit 69a81c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/picobench/picobench.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// VERSION HISTORY
//
// 2.03 (2023-03-xx) * Added PICOBENCH_UNIQUE_SYM_SUFFIX
// * Fixed shadowing warning
// * Fixed several warnings
// 2.02 (2023-02-16) * Fixed same-func warning if user data is different
// * Macro PICOBENCH_NAMESPACE to change namespace
// * Changed marking of baseline in human-readable reports
Expand Down Expand Up @@ -1019,7 +1019,7 @@ class runner : public registry
rpt_benchmark->data.reserve(state_iterations.size());
for (auto d : state_iterations)
{
rpt_benchmark->data.push_back({ d, 0, 0ll });
rpt_benchmark->data.push_back({d, 0, 0ll, result_t(0)});
}

for (auto& state : b->_states)
Expand Down

0 comments on commit 69a81c8

Please sign in to comment.