VERY experimental Nintendo Switch 2 emulator
C++
thread_worker: Fix compile time error
ameerj0dfa52612f0f
diff --git a/src/common/thread_worker.h b/src/common/thread_worker.hindex 8272985ff0..0a975a869d 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;{