diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-17 16:42:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-17 16:42:44 +0200 |
commit | 474739a37920ff8e8a2f5d6f480a9116fdfba825 (patch) | |
tree | 8331fac91e1e96ddd379917ad51167cef48868f3 /src/common | |
parent | Merge pull request #11523 from t895/shader-workers (diff) | |
parent | Reimplement HardwareOpus (diff) | |
download | yuzu-474739a37920ff8e8a2f5d6f480a9116fdfba825.tar yuzu-474739a37920ff8e8a2f5d6f480a9116fdfba825.tar.gz yuzu-474739a37920ff8e8a2f5d6f480a9116fdfba825.tar.bz2 yuzu-474739a37920ff8e8a2f5d6f480a9116fdfba825.tar.lz yuzu-474739a37920ff8e8a2f5d6f480a9116fdfba825.tar.xz yuzu-474739a37920ff8e8a2f5d6f480a9116fdfba825.tar.zst yuzu-474739a37920ff8e8a2f5d6f480a9116fdfba825.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/common/bounded_threadsafe_queue.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 34877b461..416203c59 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -26,12 +26,11 @@ add_library(common STATIC assert.h atomic_helpers.h atomic_ops.h - detached_tasks.cpp - detached_tasks.h bit_cast.h bit_field.h bit_set.h bit_util.h + bounded_threadsafe_queue.h cityhash.cpp cityhash.h common_funcs.h @@ -41,6 +40,8 @@ add_library(common STATIC container_hash.h demangle.cpp demangle.h + detached_tasks.cpp + detached_tasks.h div_ceil.h dynamic_library.cpp dynamic_library.h diff --git a/src/common/bounded_threadsafe_queue.h b/src/common/bounded_threadsafe_queue.h index bd87aa09b..b36fc1de9 100644 --- a/src/common/bounded_threadsafe_queue.h +++ b/src/common/bounded_threadsafe_queue.h @@ -45,13 +45,13 @@ public: } T PopWait() { - T t; + T t{}; Pop<PopMode::Wait>(t); return t; } T PopWait(std::stop_token stop_token) { - T t; + T t{}; Pop<PopMode::WaitWithStopToken>(t, stop_token); return t; } |