From bf3e8195f7800a346a47fbd534018cdc2a7ace3c Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Sun, 6 Jan 2019 18:32:19 -0800 Subject: [PATCH] DNSLookup _id member does not need to be an atomic --- ixwebsocket/IXDNSLookup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ixwebsocket/IXDNSLookup.h b/ixwebsocket/IXDNSLookup.h index 993307d7..7887cc2a 100644 --- a/ixwebsocket/IXDNSLookup.h +++ b/ixwebsocket/IXDNSLookup.h @@ -56,7 +56,7 @@ namespace ix std::condition_variable _condition; std::mutex _conditionVariableMutex; - std::atomic _id; + uint64_t _id; static std::atomic _nextId; static std::set _activeJobs; static std::mutex _activeJobsMutex;