From e751e235bcd604121a0f36c264446600f280940c Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Mon, 12 Feb 2018 17:53:57 +0300 Subject: [PATCH] Silenced "unused parameter" warnings. --- include/boost/atomic/detail/extra_ops_emulated.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/atomic/detail/extra_ops_emulated.hpp b/include/boost/atomic/detail/extra_ops_emulated.hpp index ae9032f..c0e4832 100644 --- a/include/boost/atomic/detail/extra_ops_emulated.hpp +++ b/include/boost/atomic/detail/extra_ops_emulated.hpp @@ -43,7 +43,7 @@ struct emulated_extra_operations : typedef Base base_type; typedef typename base_type::storage_type storage_type; - static BOOST_FORCEINLINE storage_type fetch_negate(storage_type volatile& storage, memory_order order) BOOST_NOEXCEPT + static BOOST_FORCEINLINE storage_type fetch_negate(storage_type volatile& storage, memory_order) BOOST_NOEXCEPT { storage_type& s = const_cast< storage_type& >(storage); lockpool::scoped_lock lock(&storage); @@ -52,7 +52,7 @@ struct emulated_extra_operations : return old_val; } - static BOOST_FORCEINLINE storage_type negate(storage_type volatile& storage, memory_order order) BOOST_NOEXCEPT + static BOOST_FORCEINLINE storage_type negate(storage_type volatile& storage, memory_order) BOOST_NOEXCEPT { storage_type& s = const_cast< storage_type& >(storage); lockpool::scoped_lock lock(&storage); @@ -111,7 +111,7 @@ struct emulated_extra_operations : return new_val; } - static BOOST_FORCEINLINE storage_type fetch_complement(storage_type volatile& storage, memory_order order) BOOST_NOEXCEPT + static BOOST_FORCEINLINE storage_type fetch_complement(storage_type volatile& storage, memory_order) BOOST_NOEXCEPT { storage_type& s = const_cast< storage_type& >(storage); lockpool::scoped_lock lock(&storage); @@ -120,7 +120,7 @@ struct emulated_extra_operations : return old_val; } - static BOOST_FORCEINLINE storage_type bitwise_complement(storage_type volatile& storage, memory_order order) BOOST_NOEXCEPT + static BOOST_FORCEINLINE storage_type bitwise_complement(storage_type volatile& storage, memory_order) BOOST_NOEXCEPT { storage_type& s = const_cast< storage_type& >(storage); lockpool::scoped_lock lock(&storage);