From 217a94581ba5a44841bac61b84efa4152cce02f2 Mon Sep 17 00:00:00 2001 From: SaiHarshaK Date: Mon, 22 Jan 2024 23:30:28 +0530 Subject: [PATCH] remove volatile decl --- api/include/opentelemetry/common/spin_lock_mutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/include/opentelemetry/common/spin_lock_mutex.h b/api/include/opentelemetry/common/spin_lock_mutex.h index 62d681d51e..8cec8dfea3 100644 --- a/api/include/opentelemetry/common/spin_lock_mutex.h +++ b/api/include/opentelemetry/common/spin_lock_mutex.h @@ -55,7 +55,7 @@ class SpinLockMutex SpinLockMutex() noexcept {} ~SpinLockMutex() noexcept = default; SpinLockMutex(const SpinLockMutex &) = delete; - SpinLockMutex &operator=(const SpinLockMutex &) volatile = delete; + SpinLockMutex &operator=(const SpinLockMutex &) = delete; static inline void fast_yield() noexcept {