From 695eb4222a7bef91ba06261ceba2f95177cc10ac Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 8 May 2016 17:51:24 +0200 Subject: [PATCH] Fix a compile error with MSVC 2013 --- src/syzygy/tbprobe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syzygy/tbprobe.cpp b/src/syzygy/tbprobe.cpp index b1075b08..87c80676 100644 --- a/src/syzygy/tbprobe.cpp +++ b/src/syzygy/tbprobe.cpp @@ -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; };