Skip to content

Commit 0c82fb2

Browse files
committed
add missing <array> include for windows
1 parent ffb6adc commit 0c82fb2

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

benchmarks/algorithms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include <fmt/format.h>
2121

22+
#include <array>
2223
#include <span>
2324

2425
#include "cpp/common/traits.hpp" // Teju Jagua
@@ -310,7 +311,6 @@ std::array<BenchArgs<T>, Benchmarks::COUNT> initArgs(bool errol = false) {
310311
return args;
311312
};
312313

313-
314314
} // namespace Benchmarks
315315

316316
#endif

benchmarks/exhaustivefloat32.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1+
#include <fmt/format.h>
12

2-
#include "algorithms.h"
3-
#include "cxxopts.hpp"
3+
#include <array>
44
#include <bit>
55
#include <cctype>
66
#include <cmath>
77
#include <cstring>
8-
#include <fmt/format.h>
98
#include <iostream>
109
#include <string_view>
1110

11+
#include "algorithms.h"
12+
#include "cxxopts.hpp"
13+
1214
size_t count_significant_digits(std::string_view num_str) {
1315
size_t count = 0;
1416
size_t trailing_zeros = 0;

0 commit comments

Comments
 (0)