We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48d28a6 commit 0a99da8Copy full SHA for 0a99da8
benchmarks/benchutil.h
@@ -7,6 +7,8 @@
7
#include <cfloat>
8
#include <cstdio>
9
#include <ranges>
10
+#include <type_traits>
11
+#include <variant>
12
13
#include "algorithms.h"
14
#include "counters/event_counter.h"
@@ -91,7 +93,7 @@ void evaluate_properties_helper(Range&& cases,
91
93
}
92
94
95
const T d = tc.value;
- 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) : "";
97
98
if (std::isnan(d) || std::isinf(d))
99
continue;
0 commit comments