Skip to content

Commit 1e17cef

Browse files
committed
Fix CI - addressof
1 parent 0b64745 commit 1e17cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/spanstream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ protected:
209209

210210
off_type __newoff;
211211

212-
if (__builtin_add_overflow(__baseoff, __off, &__newoff) || (__newoff < off_type{0}) ||
212+
if (__builtin_add_overflow(__baseoff, __off, std::addressof(__newoff)) || (__newoff < off_type{0}) ||
213213
std::cmp_greater(__newoff, __buf_.size()))
214214
return __error;
215215

0 commit comments

Comments
 (0)