diff options
Diffstat (limited to 'boost/atomic/detail/ops_windows.hpp')
-rw-r--r-- | boost/atomic/detail/ops_windows.hpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/boost/atomic/detail/ops_windows.hpp b/boost/atomic/detail/ops_windows.hpp index 867f1c6113..50d951dabf 100644 --- a/boost/atomic/detail/ops_windows.hpp +++ b/boost/atomic/detail/ops_windows.hpp @@ -24,11 +24,11 @@ #define BOOST_ATOMIC_DETAIL_OPS_WINDOWS_HPP_INCLUDED_ #include <boost/memory_order.hpp> -#include <boost/type_traits/make_signed.hpp> #include <boost/atomic/detail/config.hpp> #include <boost/atomic/detail/interlocked.hpp> #include <boost/atomic/detail/storage_type.hpp> #include <boost/atomic/detail/operations_fwd.hpp> +#include <boost/atomic/detail/type_traits/make_signed.hpp> #include <boost/atomic/capabilities.hpp> #include <boost/atomic/detail/ops_msvc_common.hpp> #include <boost/atomic/detail/ops_extending_cas_based.hpp> @@ -80,7 +80,7 @@ struct windows_operations : static BOOST_FORCEINLINE storage_type fetch_sub(storage_type volatile& storage, storage_type v, memory_order order) BOOST_NOEXCEPT { - typedef typename make_signed< storage_type >::type signed_storage_type; + typedef typename boost::atomics::detail::make_signed< storage_type >::type signed_storage_type; return Derived::fetch_add(storage, static_cast< storage_type >(-static_cast< signed_storage_type >(v)), order); } @@ -99,11 +99,6 @@ struct windows_operations : { store(storage, (storage_type)0, order); } - - static BOOST_FORCEINLINE bool is_lock_free(storage_type const volatile&) BOOST_NOEXCEPT - { - return true; - } }; template< bool Signed > |