diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-03-07 13:45:59 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-04-01 11:11:17 +0200 |
commit | dae5d099d39b8b2b7ec08772f4e1ded9986a5853 (patch) | |
tree | c828722a3b3157055875b4c14e37aab8e4ee65ba /src | |
parent | 1e9e685a94033445f230cf6afc35c4c0f3291c22 (diff) | |
download | justbuild-dae5d099d39b8b2b7ec08772f4e1ded9986a5853.tar.gz |
utils atomic: Update link to libcxx C++20 adoption page
(cherry-picked from f93e4cdb371aa01ac157ce1a79e392ceb0108dad)
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/cpp/atomic.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/cpp/atomic.hpp b/src/utils/cpp/atomic.hpp index 179e7f7a..879c2397 100644 --- a/src/utils/cpp/atomic.hpp +++ b/src/utils/cpp/atomic.hpp @@ -26,7 +26,7 @@ // Atomic wrapper with notify/wait capabilities. // TODO(modernize): Replace any use this class by C++20's std::atomic<T>, once // libcxx adds support for notify_*() and wait(). -// [https://libcxx.llvm.org/docs/Cxx2aStatus.html] +// [https://libcxx.llvm.org/Status/Cxx20.html] template <class T> class atomic { // NOLINT(readability-identifier-naming) public: @@ -97,7 +97,7 @@ class atomic { // NOLINT(readability-identifier-naming) // Atomic shared_pointer with notify/wait capabilities. // TODO(modernize): Replace any use this class by C++20's // std::atomic<std::shared_ptr<T>>, once libcxx adds support for it. -// [https://libcxx.llvm.org/docs/Cxx2aStatus.html] +// [https://libcxx.llvm.org/Status/Cxx20.html] template <class T> class atomic_shared_ptr { // NOLINT(readability-identifier-naming) using ptr_t = std::shared_ptr<T>; |