Skip to content

Commit 6b03d8a

Browse files
committed
[libc++][NFC] Remove spurious check for is-constant-evaluated
This NFC change was reverted as part of 880fa7f, but the change is really good regardless of the associated Clang patch.
1 parent c88c281 commit 6b03d8a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy.segmented.pass.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,10 @@ constexpr void test_join_view() {
9393
}
9494

9595
int main(int, char**) {
96-
if (!std::is_constant_evaluated()) {
97-
test_containers<std::deque<int>, std::deque<int>>();
98-
test_containers<std::deque<int>, std::vector<int>>();
99-
test_containers<std::vector<int>, std::deque<int>>();
100-
test_containers<std::vector<int>, std::vector<int>>();
101-
}
96+
test_containers<std::deque<int>, std::deque<int>>();
97+
test_containers<std::deque<int>, std::vector<int>>();
98+
test_containers<std::vector<int>, std::deque<int>>();
99+
test_containers<std::vector<int>, std::vector<int>>();
102100

103101
types::for_each(types::forward_iterator_list<int*>{}, []<class Iter> {
104102
test_join_view<Iter, Iter>();

0 commit comments

Comments
 (0)