Skip to content

Commit 80e681d

Browse files
Merge pull request #140 from godaddy/fix-volatile-atomic
Remove redundant volatile qualifier from std::atomic
2 parents 9e77097 + f93500b commit 80e681d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/asherah.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <atomic>
1212
#include <napi.h>
1313

14-
static volatile std::atomic<int32_t> setup_state{0};
14+
static std::atomic<int32_t> setup_state{0};
1515

1616
class Asherah : public Napi::Addon<Asherah> {
1717
public:

0 commit comments

Comments
 (0)