Skip to content

Commit 156675e

Browse files
committed
ci
1 parent a8ed700 commit 156675e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__atomic/atomic_sync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ struct __atomic_wait_backoff_impl {
160160
auto __atomic_value = __waitable_traits::__atomic_load(__a_, __order_);
161161
if (__poll_(__atomic_value))
162162
return true;
163-
std::__libcpp_atomic_wait_native<sizeof(__value_type)>(__contention_address, &__atomic_value);
163+
std::__libcpp_atomic_wait_native<sizeof(__value_type)>(__contention_address, std::addressof(__atomic_value));
164164
} else {
165165
__cxx_contention_t __monitor_val = std::__libcpp_atomic_monitor_global(__contention_address);
166166
auto __atomic_value = __waitable_traits::__atomic_load(__a_, __order_);

0 commit comments

Comments
 (0)