From 73b5d9fffcdf3ab3fd191e160ecf0fb8630fce0b Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Tue, 8 Dec 2015 08:43:15 +0100 Subject: [PATCH] Update shared_state.hpp --- include/boost/fiber/future/detail/shared_state.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/fiber/future/detail/shared_state.hpp b/include/boost/fiber/future/detail/shared_state.hpp index ca031cd8..298ee14c 100644 --- a/include/boost/fiber/future/detail/shared_state.hpp +++ b/include/boost/fiber/future/detail/shared_state.hpp @@ -172,7 +172,7 @@ private: if ( except_) { std::rethrow_exception( except_); } - return * reinterpret_cast< R * >( & storage_); + return * reinterpret_cast< R * >( std::addressof( storage_) ); } public: