[libcxx-commits] [PATCH] D154358: [libc++] Use this in lamba capture in <latch>
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 4 11:44:13 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0529025648b5: [libc++] Use this in lamba capture in <latch> (authored by Edoardo Sanguineti <edoardo.sanguineti222 at gmail.com>, committed by Mordante).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154358/new/
https://reviews.llvm.org/D154358
Files:
libcxx/include/latch
Index: libcxx/include/latch
===================================================================
--- libcxx/include/latch
+++ libcxx/include/latch
@@ -96,7 +96,7 @@
inline _LIBCPP_AVAILABILITY_SYNC _LIBCPP_INLINE_VISIBILITY
void wait() const
{
- __cxx_atomic_wait(&__a_.__a_, [&]() -> bool {
+ __cxx_atomic_wait(&__a_.__a_, [this]() -> bool {
return try_wait();
});
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154358.537144.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230704/5f31b0b0/attachment.bin>
More information about the libcxx-commits
mailing list