diff options
| author | LC <mathew1800@gmail.com> | 2020-08-13 15:13:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-13 15:13:21 -0400 |
| commit | 77a3efb1c52e69fd05b1d83fbeee34cd0202af56 (patch) | |
| tree | 6642ba786c7158933e3d1e2fb41a1aa1a6e30a63 /src/common/detached_tasks.cpp | |
| parent | d7958019b63e1730f453b48235f9a1f5a2c3c789 (diff) | |
| parent | 78ddcbe3ba0f8f5740149bff2054e2dffc0e9d83 (diff) | |
Merge pull request #4511 from lioncash/build2
General: Tidy up clang-format warnings part 2
Diffstat (limited to 'src/common/detached_tasks.cpp')
| -rw-r--r-- | src/common/detached_tasks.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/detached_tasks.cpp b/src/common/detached_tasks.cpp index f268d60216..f2b4939dfb 100644 --- a/src/common/detached_tasks.cpp +++ b/src/common/detached_tasks.cpp @@ -34,8 +34,7 @@ void DetachedTasks::AddTask(std::function<void()> task) { std::unique_lock lock{instance->mutex}; --instance->count; std::notify_all_at_thread_exit(instance->cv, std::move(lock)); - }) - .detach(); + }).detach(); } } // namespace Common |
