diff options
| author | YDBot <[email protected]> | 2026-05-30 05:58:08 +0000 |
|---|---|---|
| committer | YDBot <[email protected]> | 2026-05-30 05:58:08 +0000 |
| commit | b97d60a64450581ebafda99bfc2b31b87db63041 (patch) | |
| tree | 2c9a022cf9d8e51e706f270820cd93499a98d2d5 /library/cpp | |
| parent | c0e1f899615cd640410ccc197e35a94f131c9059 (diff) | |
| parent | dc0819dcad0731a4598752bb04f56b2f732310d1 (diff) | |
Merge pull request #41927 from ydb-platform/merge-rightlib-260530-0121
Diffstat (limited to 'library/cpp')
| -rw-r--r-- | library/cpp/yt/memory/intrusive_ptr.h | 2 | ||||
| -rw-r--r-- | library/cpp/yt/memory/ref.h | 2 | ||||
| -rw-r--r-- | library/cpp/yt/threading/atomic_object.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/yt/memory/intrusive_ptr.h b/library/cpp/yt/memory/intrusive_ptr.h index 96550ef8a84..613b2f58c49 100644 --- a/library/cpp/yt/memory/intrusive_ptr.h +++ b/library/cpp/yt/memory/intrusive_ptr.h @@ -32,7 +32,7 @@ public: * Note that this constructor could be racy due to unsynchronized operations * on the object and on the counter. * - * Note that it notoriously hard to make this constructor explicit + * Note that it is notoriously hard to make this constructor explicit * given the current amount of code written. */ constexpr TIntrusivePtr(T* obj, bool addReference = true) noexcept diff --git a/library/cpp/yt/memory/ref.h b/library/cpp/yt/memory/ref.h index ded8f40eb55..028afffd354 100644 --- a/library/cpp/yt/memory/ref.h +++ b/library/cpp/yt/memory/ref.h @@ -370,7 +370,7 @@ public: * The user must provide the total (resulting) part count in #size. * * Additionally, the user may request a certain memory pool of size #poolCapacity - * to be created. Parts occupiying space in the above pool are created with #AllocateAndAdd + * to be created. Parts occupying space in the above pool are created with #AllocateAndAdd * calls. * * The pool (if any) and the array are created within a single memory allocation tagged with diff --git a/library/cpp/yt/threading/atomic_object.h b/library/cpp/yt/threading/atomic_object.h index 452f0f29195..bdf84ae6abf 100644 --- a/library/cpp/yt/threading/atomic_object.h +++ b/library/cpp/yt/threading/atomic_object.h @@ -35,7 +35,7 @@ public: template <std::invocable<T&> F> std::invoke_result_t<F, T&> Transform(F&& func); - //! Atomicaly reads the value with function #func. + //! Atomically reads the value with function #func. template <std::invocable<const T&> F> std::invoke_result_t<F, const T&> Read(F&& func) const; |
