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 3666789 commit bc319a5Copy full SHA for bc319a5
libcxx/include/__iterator/bounded_iter.h
@@ -117,6 +117,10 @@ struct __bounded_iter {
117
pointer __end_ptr = std::__to_address(__end);
118
_LIBCPP_ASSUME(__begin_ptr <= __current_ptr);
119
_LIBCPP_ASSUME(__current_ptr <= __end_ptr);
120
+ // Silence warnings when assumptions are disabled.
121
+ (void)__begin_ptr;
122
+ (void)__current_ptr;
123
+ (void)__end_ptr;
124
}
125
126
template <class _It>
0 commit comments