From a5108e2b0121be90adf545866d7ed74aa2fd069d Mon Sep 17 00:00:00 2001
From: SaiHarshaK <k.saiharsha7@gmail.com>
Date: Mon, 22 Jan 2024 23:30:27 +0530
Subject: [PATCH 1/2] fix warns

---
 api/include/opentelemetry/common/spin_lock_mutex.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/api/include/opentelemetry/common/spin_lock_mutex.h b/api/include/opentelemetry/common/spin_lock_mutex.h
index ac52f700bc..62d681d51e 100644
--- a/api/include/opentelemetry/common/spin_lock_mutex.h
+++ b/api/include/opentelemetry/common/spin_lock_mutex.h
@@ -55,7 +55,6 @@ class SpinLockMutex
   SpinLockMutex() noexcept {}
   ~SpinLockMutex() noexcept            = default;
   SpinLockMutex(const SpinLockMutex &) = delete;
-  SpinLockMutex &operator=(const SpinLockMutex &) = delete;
   SpinLockMutex &operator=(const SpinLockMutex &) volatile = delete;
 
   static inline void fast_yield() noexcept

From 217a94581ba5a44841bac61b84efa4152cce02f2 Mon Sep 17 00:00:00 2001
From: SaiHarshaK <k.saiharsha7@gmail.com>
Date: Mon, 22 Jan 2024 23:30:28 +0530
Subject: [PATCH 2/2] 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
   {