diff options
author | denisk <[email protected]> | 2022-02-10 16:48:13 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:13 +0300 |
commit | a3e40d22cc86312046f69a10ea401b78e9efb746 (patch) | |
tree | 9133cfa57ce2fa5b31742d1dac3bc609e00297a8 /contrib/libs/cxxsupp/libcxx/include/forward_list | |
parent | 0e38f1d675a0b3d02016acf698e8d04c0b224047 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/forward_list')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/forward_list | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/forward_list b/contrib/libs/cxxsupp/libcxx/include/forward_list index 3454a784a1c..ecc225dfbc6 100644 --- a/contrib/libs/cxxsupp/libcxx/include/forward_list +++ b/contrib/libs/cxxsupp/libcxx/include/forward_list @@ -758,11 +758,11 @@ public: bool empty() const _NOEXCEPT {return base::__before_begin()->__next_ == nullptr;} _LIBCPP_INLINE_VISIBILITY - size_type max_size() const _NOEXCEPT { + size_type max_size() const _NOEXCEPT { return _VSTD::min<size_type>( - __node_traits::max_size(base::__alloc()), - numeric_limits<difference_type>::max()); - } + __node_traits::max_size(base::__alloc()), + numeric_limits<difference_type>::max()); + } _LIBCPP_INLINE_VISIBILITY reference front() {return base::__before_begin()->__next_->__value_;} |