Skip to content

Commit 69a81c8

Browse files
committed
Fixed missing initializer warning
1 parent 030f1c0 commit 69a81c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/picobench/picobench.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// VERSION HISTORY
3232
//
3333
// 2.03 (2023-03-xx) * Added PICOBENCH_UNIQUE_SYM_SUFFIX
34-
// * Fixed shadowing warning
34+
// * Fixed several warnings
3535
// 2.02 (2023-02-16) * Fixed same-func warning if user data is different
3636
// * Macro PICOBENCH_NAMESPACE to change namespace
3737
// * Changed marking of baseline in human-readable reports
@@ -1019,7 +1019,7 @@ class runner : public registry
10191019
rpt_benchmark->data.reserve(state_iterations.size());
10201020
for (auto d : state_iterations)
10211021
{
1022-
rpt_benchmark->data.push_back({ d, 0, 0ll });
1022+
rpt_benchmark->data.push_back({d, 0, 0ll, result_t(0)});
10231023
}
10241024

10251025
for (auto& state : b->_states)

0 commit comments

Comments
 (0)