Skip to content

Commit 25d917a

Browse files
committed
ci
1 parent 44ec79b commit 25d917a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

libcxx/test/std/containers/container.adaptors/flat.map/flat.map.iterators/iterator_comparison.pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ void test() {
2929
using Value = typename ValueContainer::value_type;
3030
using M = std::flat_map<Key, Value, std::less<Key>, KeyContainer, ValueContainer>;
3131
using KI = typename KeyContainer::iterator;
32-
using KCI = typename KeyContainer::const_iterator;
3332
using I = M::iterator;
3433
using CI = M::const_iterator;
3534
using RI = M::reverse_iterator;

libcxx/test/std/containers/container.adaptors/flat.map/helpers.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ struct NoDefaultCtr {
124124
NoDefaultCtr() = delete;
125125
};
126126

127+
#ifndef TEST_HAS_NO_EXCEPTIONS
127128
template <class T>
128129
struct EmplaceUnsafeContainer : std::vector<T> {
129130
using std::vector<T>::vector;
@@ -172,6 +173,8 @@ struct ThrowOnMoveContainer : std::vector<T> {
172173
ThrowOnMoveContainer& operator=(ThrowOnMoveContainer&&) { throw 42; }
173174
};
174175

176+
#endif
177+
175178
template <class F>
176179
void test_emplace_exception_guarantee(F&& emplace_function) {
177180
#ifndef TEST_HAS_NO_EXCEPTIONS

0 commit comments

Comments
 (0)