We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8ed700 commit 156675eCopy full SHA for 156675e
libcxx/include/__atomic/atomic_sync.h
@@ -160,7 +160,7 @@ struct __atomic_wait_backoff_impl {
160
auto __atomic_value = __waitable_traits::__atomic_load(__a_, __order_);
161
if (__poll_(__atomic_value))
162
return true;
163
- std::__libcpp_atomic_wait_native<sizeof(__value_type)>(__contention_address, &__atomic_value);
+ std::__libcpp_atomic_wait_native<sizeof(__value_type)>(__contention_address, std::addressof(__atomic_value));
164
} else {
165
__cxx_contention_t __monitor_val = std::__libcpp_atomic_monitor_global(__contention_address);
166
0 commit comments