Skip to content

Commit f6e6418

Browse files
committed
ci
1 parent b39029c commit f6e6418

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

libcxx/test/benchmarks/containers/associative/associative_container_benchmarks.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include "benchmark/benchmark.h"
2222
#include "../../GenerateInput.h"
23+
#include "test_macros.h"
2324

2425
namespace support {
2526

@@ -343,6 +344,7 @@ void associative_container_benchmarks(std::string container) {
343344
}
344345
});
345346

347+
#if TEST_STD_VER >= 23
346348
bench("insert(iterator, iterator) (product_iterator from zip_view)", [=](auto& st) {
347349
const std::size_t size = st.range(0);
348350
std::vector<Key> keys = generate_unique_keys(size + (size / 10));
@@ -363,6 +365,7 @@ void associative_container_benchmarks(std::string container) {
363365
st.ResumeTiming();
364366
}
365367
});
368+
#endif
366369
}
367370
/////////////////////////
368371
// Erasure

libcxx/test/benchmarks/containers/associative/flat_map.bench.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: std-at-least-c++26
9+
// REQUIRES: std-at-least-c++23
1010

1111
#include <flat_map>
1212
#include <utility>

libcxx/test/benchmarks/containers/associative/flat_multimap.bench.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: std-at-least-c++26
9+
// REQUIRES: std-at-least-c++23
1010

1111
#include <flat_map>
1212

0 commit comments

Comments
 (0)