From fcfebf3d46a92066cd3c705062d2c3d4a2057275 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Fri, 5 Feb 2016 20:50:33 -0500 Subject: [PATCH] MSVC patch for atomic_bool init --- src/sdr/SDRDeviceInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sdr/SDRDeviceInfo.cpp b/src/sdr/SDRDeviceInfo.cpp index b95411d..1e326ed 100644 --- a/src/sdr/SDRDeviceInfo.cpp +++ b/src/sdr/SDRDeviceInfo.cpp @@ -2,8 +2,8 @@ #include #include -SDRDeviceInfo::SDRDeviceInfo() : name(""), serial(""), available(false), remote(false), manual(false), active(false), soapyDevice(nullptr) { - +SDRDeviceInfo::SDRDeviceInfo() : name(""), serial(""), available(false), remote(false), manual(false), soapyDevice(nullptr) { + active.store(false); } SDRDeviceInfo::~SDRDeviceInfo() {