diff options
author | mikhnenko <mikhnenko@yandex-team.com> | 2023-09-20 00:17:28 +0300 |
---|---|---|
committer | mikhnenko <mikhnenko@yandex-team.com> | 2023-09-20 00:37:19 +0300 |
commit | 38d353cb704b884242efe1e8f0d34d2420de4488 (patch) | |
tree | 03f4e032f028b493a384b8c9b75f160f81ce6a77 /contrib/libs/cxxsupp/libcxx/src/ios.cpp | |
parent | 9fe06a35ce2c80f49c89bebe61b09ab4f4213ecf (diff) | |
download | ydb-38d353cb704b884242efe1e8f0d34d2420de4488.tar.gz |
Put libc++ under ym2
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src/ios.cpp')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/ios.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/ios.cpp b/contrib/libs/cxxsupp/libcxx/src/ios.cpp index 218b27f1a6..870406b554 100644 --- a/contrib/libs/cxxsupp/libcxx/src/ios.cpp +++ b/contrib/libs/cxxsupp/libcxx/src/ios.cpp @@ -145,11 +145,11 @@ int ios_base::__xindex_ = 0; template <typename _Tp> static size_t __ios_new_cap(size_t __req_size, size_t __current_cap) { // Precondition: __req_size > __current_cap - const size_t mx = std::numeric_limits<size_t>::max() / sizeof(_Tp); - if (__req_size < mx/2) - return _VSTD::max(2 * __current_cap, __req_size); - else - return mx; + const size_t mx = std::numeric_limits<size_t>::max() / sizeof(_Tp); + if (__req_size < mx/2) + return _VSTD::max(2 * __current_cap, __req_size); + else + return mx; } int |