diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-05-05 18:31:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-05 18:31:28 -0500 |
| commit | 210b5cbf66a8c1aa28cf95aff8985ea54138ef8b (patch) | |
| tree | 12f6e1188fcdc576e28403010212a4a9bbbcb1a4 /Source/Core | |
| parent | d2db9d95906de73d704bd0f32bd1ee79f4a442f6 (diff) | |
| parent | 2f1d8272a8292555279af5d79da72f53699181ff (diff) | |
Merge pull request #13633 from jordan-woyak/libstdcpp-buildfix
DolphinQt/TAS: Use non-default std::atomic struct constructor to fix build with libstdc++ 15.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt/TAS/TASControlState.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/TAS/TASControlState.h b/Source/Core/DolphinQt/TAS/TASControlState.h index 701bf01169..c720e0fdda 100644 --- a/Source/Core/DolphinQt/TAS/TASControlState.h +++ b/Source/Core/DolphinQt/TAS/TASControlState.h @@ -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{}; }; |
