summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-09 19:59:09 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:21 +0200
commit75059c46d645e42e8da31fb97d003047c67b004b (patch)
tree75cec577b1cd996e2dde848c0426938286dff201 /src
parentMerge pull request #6686 from ReinUsesLisp/vk-optimal-copy (diff)
downloadyuzu-75059c46d645e42e8da31fb97d003047c67b004b.tar
yuzu-75059c46d645e42e8da31fb97d003047c67b004b.tar.gz
yuzu-75059c46d645e42e8da31fb97d003047c67b004b.tar.bz2
yuzu-75059c46d645e42e8da31fb97d003047c67b004b.tar.lz
yuzu-75059c46d645e42e8da31fb97d003047c67b004b.tar.xz
yuzu-75059c46d645e42e8da31fb97d003047c67b004b.tar.zst
yuzu-75059c46d645e42e8da31fb97d003047c67b004b.zip
Diffstat (limited to '')
-rw-r--r--src/common/thread_worker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/thread_worker.h b/src/common/thread_worker.h
index 8272985ff..0a975a869 100644
--- a/src/common/thread_worker.h
+++ b/src/common/thread_worker.h
@@ -39,7 +39,7 @@ public:
const auto lambda = [this, func](std::stop_token stop_token) {
Common::SetCurrentThreadName(thread_name.c_str());
{
- std::conditional_t<with_state, StateType, int> state{func()};
+ [[maybe_unused]] std::conditional_t<with_state, StateType, int> state{func()};
while (!stop_token.stop_requested()) {
Task task;
{