Skip to content

Commit 7384d91

Browse files
authored
Update libcxx/test/std/utilities/utility/utility.swap/swap_array.pass.cpp
1 parent 2a52692 commit 7384d91

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libcxx/test/std/utilities/utility/utility.swap/swap_array.pass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@ TEST_CONSTEXPR_CXX20 bool test() {
137137
static_assert(noexcept(std::swap(ma, ma)), "");
138138
}
139139

140-
// `unique_ptr` is constexpr only since C++23, so we can't inline `test_unique_ptr()` into `test()`
141-
// because `test()` is constexpr since C++20.
142140
if (TEST_STD_VER >= 23 || !TEST_IS_CONSTANT_EVALUATED)
143141
test_unique_ptr();
144142
#endif

0 commit comments

Comments
 (0)