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.
addressof
1 parent b94890c commit 5e314c3Copy full SHA for 5e314c3
libcxx/include/spanstream
@@ -209,7 +209,7 @@ protected:
209
210
off_type __newoff;
211
212
- if (__builtin_add_overflow(__baseoff, __off, &__newoff) || (__newoff < off_type{0}) ||
+ if (__builtin_add_overflow(__baseoff, __off, std::addressof(__newoff)) || (__newoff < off_type{0}) ||
213
std::cmp_greater(__newoff, __buf_.size()))
214
return __error;
215
0 commit comments