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: