diff options
author | shakurov <shakurov@yandex-team.com> | 2023-12-02 01:45:35 +0300 |
---|---|---|
committer | shakurov <shakurov@yandex-team.com> | 2023-12-02 02:49:34 +0300 |
commit | 1a402b72b2a2198c72fcbb7949a3b0486a9b5890 (patch) | |
tree | cfc46a071e1cf39c3d8a670257ea9cb5dcb388a1 | |
parent | 9c43d58f75cf086b744cf4fe2ae180e8f37e4a0c (diff) | |
download | ydb-1a402b72b2a2198c72fcbb7949a3b0486a9b5890.tar.gz |
Cosmetic tweaks following up rXXXXXX.
-rw-r--r-- | yt/yt/core/rpc/response_keeper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/core/rpc/response_keeper.cpp b/yt/yt/core/rpc/response_keeper.cpp index d055c4ca56..cb694f2c4b 100644 --- a/yt/yt/core/rpc/response_keeper.cpp +++ b/yt/yt/core/rpc/response_keeper.cpp @@ -154,7 +154,7 @@ public: guard.Release(); if (promise) { - return [promise = std::move(promise), response = std::move(response)] { + return [promise = std::move(promise), response = std::move(response)] () mutable { promise.TrySet(std::move(response)); }; } else { @@ -189,7 +189,7 @@ public: guard.Release(); - return [promise = std::move(promise), responseOrError = std::move(responseOrError)] { + return [promise = std::move(promise), responseOrError = std::move(responseOrError)] () mutable { promise.TrySet(std::move(responseOrError)); }; } |