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 | ff0b14ee624c056d41cb020562f57af07c710a8b (patch) | |
tree | 6642ba786c7158933e3d1e2fb41a1aa1a6e30a63 /src/common/detached_tasks.cpp | |
parent | a8ffe6eee427087683f02290d83064e1cb754cb2 (diff) | |
parent | b724a4d90c2dcff0e800f7ab630b6ad0d5be1e58 (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 f268d6021..f2b4939df 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 |