Skip to content

Commit ff76a9d

Browse files
committed
fix some compile errors on github
1 parent cc33501 commit ff76a9d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

benchmarks/benchutil.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#include <cfloat>
88
#include <cstdio>
99
#include <ranges>
10+
#include <type_traits>
11+
#include <variant>
1012

1113
#include "algorithms.h"
1214
#include "counters/event_counter.h"
@@ -91,7 +93,7 @@ void evaluate_properties_helper(Range&& cases,
9193
}
9294

9395
const T d = tc.value;
94-
const std::string sv = tc.str_value ? std::format("case: {};", *tc.str_value) : "";
96+
const std::string sv = tc.str_value ? fmt::format("case: {};", *tc.str_value) : "";
9597

9698
if (std::isnan(d) || std::isinf(d))
9799
continue;

0 commit comments

Comments
 (0)