diff options
author | pogorelov <pogorelov@yandex-team.com> | 2023-11-03 16:47:53 +0300 |
---|---|---|
committer | pogorelov <pogorelov@yandex-team.com> | 2023-11-03 17:18:27 +0300 |
commit | b05aae6f57d1517e7c2c854275b231d0d451f4d5 (patch) | |
tree | 222d577e7d6a17f121ccd9cc7e8878a141a4cd20 | |
parent | 17e44ee7839e018dc51fe65a7b4fafdd44cea383 (diff) | |
download | ydb-b05aae6f57d1517e7c2c854275b231d0d451f4d5.tar.gz |
Cosmetics
-rw-r--r-- | yt/yt/core/actions/invoker-inl.h | 1 | ||||
-rw-r--r-- | yt/yt/core/misc/memory_usage_tracker.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/yt/yt/core/actions/invoker-inl.h b/yt/yt/core/actions/invoker-inl.h index 34bea2bf4e..3612e73841 100644 --- a/yt/yt/core/actions/invoker-inl.h +++ b/yt/yt/core/actions/invoker-inl.h @@ -23,7 +23,6 @@ TExtendedCallback<R(TArgs...)>::Via(IInvokerPtr invoker) && return ViaImpl(std::move(*this), std::move(invoker)); } - template <class R, class... TArgs> TExtendedCallback<R(TArgs...)> TExtendedCallback<R(TArgs...)>::ViaImpl(TExtendedCallback<R(TArgs...)> callback, TIntrusivePtr<IInvoker> invoker) diff --git a/yt/yt/core/misc/memory_usage_tracker.h b/yt/yt/core/misc/memory_usage_tracker.h index d189acabe5..3c13b75320 100644 --- a/yt/yt/core/misc/memory_usage_tracker.h +++ b/yt/yt/core/misc/memory_usage_tracker.h @@ -11,6 +11,7 @@ struct IMemoryUsageTracker { virtual TError TryAcquire(i64 size) = 0; virtual TError TryChange(i64 size) = 0; + //! Returns true unless overcommit occurred. virtual bool Acquire(i64 size) = 0; virtual void Release(i64 size) = 0; virtual void SetLimit(i64 size) = 0; |