Skip to content

Commit

Permalink
remove volatile decl
Browse files Browse the repository at this point in the history
  • Loading branch information
SaiHarshaK committed Jan 22, 2024
1 parent a5108e2 commit 217a945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/include/opentelemetry/common/spin_lock_mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 217a945

Please sign in to comment.