From 173eb4a64fc87490ae6c6868cc193e5fa9700545 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 26 Jan 2014 21:24:34 +0400 Subject: [PATCH] Fixed compilation with MSVC. --- include/boost/atomic/detail/windows.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/atomic/detail/windows.hpp b/include/boost/atomic/detail/windows.hpp index 78d0b6d..02d1106 100644 --- a/include/boost/atomic/detail/windows.hpp +++ b/include/boost/atomic/detail/windows.hpp @@ -231,9 +231,9 @@ public: clear(memory_order order = memory_order_seq_cst) volatile BOOST_NOEXCEPT { if (order != memory_order_seq_cst) { - platform_fence_before_store(order); + atomics::detail::platform_fence_before_store(order); BOOST_ATOMIC_STORE32(&v_, 0); - platform_fence_after_store(order); + atomics::detail::platform_fence_after_store(order); } else { BOOST_ATOMIC_COMPILER_BARRIER(); BOOST_ATOMIC_INTERLOCKED_EXCHANGE(&v_, 0);