[libcxx] r345425 - Work around gcc.gnu.org/PR87766

Eric Fiselier eric at efcs.ca
Fri Oct 26 13:20:13 PDT 2018


Author: ericwf
Date: Fri Oct 26 13:20:12 2018
New Revision: 345425

URL: http://llvm.org/viewvc/llvm-project?rev=345425&view=rev
Log:
Work around gcc.gnu.org/PR87766

Modified:
    libcxx/trunk/test/std/utilities/any/any.class/any.assign/value.pass.cpp

Modified: libcxx/trunk/test/std/utilities/any/any.class/any.assign/value.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/any/any.class/any.assign/value.pass.cpp?rev=345425&r1=345424&r2=345425&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/any/any.class/any.assign/value.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/any/any.class/any.assign/value.pass.cpp Fri Oct 26 13:20:12 2018
@@ -125,7 +125,7 @@ template <class Tp, bool Move = false>
 void test_assign_throws() {
 #if !defined(TEST_HAS_NO_EXCEPTIONS)
     auto try_throw =
-    [](any& lhs, auto&& rhs) {
+    [](any& lhs, Tp& rhs) {
         try {
             Move ? lhs = std::move(rhs)
                  : lhs = rhs;




More information about the libcxx-commits mailing list