diff options
| author | 2020-08-11 11:08:10 -0400 | |
|---|---|---|
| committer | 2020-08-13 14:19:08 -0400 | |
| commit | b724a4d90c2dcff0e800f7ab630b6ad0d5be1e58 (patch) | |
| tree | 8cf24f11888d563e7f00f79f5023876b9752c107 /src/common/detached_tasks.cpp | |
| parent | Merge pull request #4502 from lioncash/build (diff) | |
| download | yuzu-b724a4d90c2dcff0e800f7ab630b6ad0d5be1e58.tar.gz yuzu-b724a4d90c2dcff0e800f7ab630b6ad0d5be1e58.tar.xz yuzu-b724a4d90c2dcff0e800f7ab630b6ad0d5be1e58.zip | |
General: Tidy up clang-format warnings part 2
Diffstat (limited to '')
| -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) { | |||
| 34 | std::unique_lock lock{instance->mutex}; | 34 | std::unique_lock lock{instance->mutex}; |
| 35 | --instance->count; | 35 | --instance->count; |
| 36 | std::notify_all_at_thread_exit(instance->cv, std::move(lock)); | 36 | std::notify_all_at_thread_exit(instance->cv, std::move(lock)); |
| 37 | }) | 37 | }).detach(); |
| 38 | .detach(); | ||
| 39 | } | 38 | } |
| 40 | 39 | ||
| 41 | } // namespace Common | 40 | } // namespace Common |