mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 11:39:15 +00:00
Fix a compile error with MSVC 2013
This commit is contained in:
parent
7a01beb441
commit
695eb4222a
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ struct PairsData {
|
|||
// because default one is not compatible with std::atomic_bool.
|
||||
struct Atomic {
|
||||
Atomic() = default;
|
||||
Atomic(const Atomic& e) : ready(e.ready.load()) {}
|
||||
Atomic(const Atomic& e) { ready = e.ready.load(); } // MSVC 2013 wants assignment within body
|
||||
std::atomic_bool ready;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue