diff options
author | spreis <[email protected]> | 2022-02-10 16:47:13 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:13 +0300 |
commit | b49848d6e361b76904f094b7d5e10d6edea75afe (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/retry/retry.h | |
parent | bcd1126cbd5d445cd0665d295198aa39c6ab8cbe (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/retry/retry.h')
-rw-r--r-- | library/cpp/retry/retry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/retry/retry.h b/library/cpp/retry/retry.h index a47bbf2a143..c47ff5070fe 100644 --- a/library/cpp/retry/retry.h +++ b/library/cpp/retry/retry.h @@ -107,7 +107,7 @@ TMaybe<TResult> DoWithRetry(std::function<TResult()> func, TRetryOptions retryOp } template <typename TException = yexception> -bool DoWithRetry(std::function<void()> func, std::function<void(const TException&)> onFail, TRetryOptions retryOptions, bool throwLast) { +bool DoWithRetry(std::function<void()> func, std::function<void(const TException&)> onFail, TRetryOptions retryOptions, bool throwLast) { auto f = [&]() { func(); return nullptr; |