Merge pull request #13633 from jordan-woyak/libstdcpp-buildfix

DolphinQt/TAS: Use non-default std::atomic struct constructor to fix build with libstdc++ 15.
This commit is contained in:
Jordan Woyak 2025-05-05 18:31:28 -05:00 committed by GitHub
commit 210b5cbf66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,6 +38,6 @@ private:
int value = 0;
};
std::atomic<State> m_ui_thread_state;
std::atomic<State> m_cpu_thread_state;
std::atomic<State> m_ui_thread_state = State{};
std::atomic<State> m_cpu_thread_state = State{};
};