Skip to content

Commit e2c27bd

Browse files
committed
fixes clang-tidy issues
1 parent 1523be9 commit e2c27bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/__split_buffer

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public:
119119
__end_ = __begin_ + __new_size;
120120
}
121121

122-
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __set_size_if_size_based(difference_type __d) {}
122+
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __set_size_if_size_based(difference_type) {}
123123

124124
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __set_end_if_pointer_based() { __set_sentinel(end() + 1); }
125125

@@ -295,7 +295,7 @@ template <class _Tp,
295295
class _Allocator = allocator<_Tp>,
296296
template <class, class, class> class _Layout = __split_buffer_pointer_layout>
297297
struct __split_buffer : _Layout<__split_buffer<_Tp, _Allocator, _Layout>, _Tp, _Allocator> {
298-
using __base_type = _Layout<__split_buffer<_Tp, _Allocator, _Layout>, _Tp, _Allocator>;
298+
using __base_type _LIBCPP_NODEBUG = _Layout<__split_buffer<_Tp, _Allocator, _Layout>, _Tp, _Allocator>;
299299
using __base_type::__back_spare;
300300
using __base_type::__front_spare;
301301
using __base_type::__reset;

0 commit comments

Comments
 (0)