[libcxx-commits] [libcxx] b105f26 - [libc++][ranges] Fix the CI.

Konstantin Varlamov via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 26 19:45:44 PDT 2022


Author: Konstantin Varlamov
Date: 2022-07-26T19:45:06-07:00
New Revision: b105f26c8a733fd73dad6fff00362817a078f030

URL: https://github.com/llvm/llvm-project/commit/b105f26c8a733fd73dad6fff00362817a078f030
DIFF: https://github.com/llvm/llvm-project/commit/b105f26c8a733fd73dad6fff00362817a078f030.diff

LOG: [libc++][ranges] Fix the CI.

Added: 
    

Modified: 
    libcxx/test/std/algorithms/robust_against_proxy_iterators_lifetime_bugs.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/algorithms/robust_against_proxy_iterators_lifetime_bugs.pass.cpp b/libcxx/test/std/algorithms/robust_against_proxy_iterators_lifetime_bugs.pass.cpp
index db68423825ea4..eacbf2b50a5f8 100644
--- a/libcxx/test/std/algorithms/robust_against_proxy_iterators_lifetime_bugs.pass.cpp
+++ b/libcxx/test/std/algorithms/robust_against_proxy_iterators_lifetime_bugs.pass.cpp
@@ -557,7 +557,7 @@ class Input {
 public:
   template <size_t N2>
   TEST_CONSTEXPR_CXX20 Input(std::array<T, N2> from) {
-    static_assert(N2 <= N);
+    static_assert(N2 <= N, "");
 
     std::copy(from.begin(), from.end(), begin());
     size_ = N2;


        


More information about the libcxx-commits mailing list