diff options
author | mikhnenko <[email protected]> | 2023-12-15 19:01:31 +0300 |
---|---|---|
committer | mikhnenko <[email protected]> | 2023-12-15 23:42:15 +0300 |
commit | 0d259c4e4b9c15299d4b7aa3e875bff771c1eecb (patch) | |
tree | b837d24d62cf0751d194559536d1919887ff8cb2 /contrib/libs/cxxsupp/libcxx/src | |
parent | 575896e786912fe28f56c16df6edd2f14dcdafb5 (diff) |
Remove more old patches
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/include/refstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/include/refstring.h b/contrib/libs/cxxsupp/libcxx/src/include/refstring.h index 6a0ebda6a22..c32630c6c2f 100644 --- a/contrib/libs/cxxsupp/libcxx/src/include/refstring.h +++ b/contrib/libs/cxxsupp/libcxx/src/include/refstring.h @@ -146,7 +146,7 @@ __libcpp_refstring::~__libcpp_refstring() { #ifdef _LIBCPP_USE_ATOMIC if (rep->count.fetch_sub(1) == 0) { #else - if (__sync_add_and_fetch(&rep->count, count_t(-1)) < 0) { + if (__libcpp_atomic_add(&rep->count, count_t(-1)) < 0) { #endif ::operator delete(rep); } |