diff options
Diffstat (limited to 'boost/fiber/future/detail/shared_state.hpp')
-rw-r--r-- | boost/fiber/future/detail/shared_state.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/fiber/future/detail/shared_state.hpp b/boost/fiber/future/detail/shared_state.hpp index 9c1b347fbf..5ec6858cf3 100644 --- a/boost/fiber/future/detail/shared_state.hpp +++ b/boost/fiber/future/detail/shared_state.hpp @@ -192,7 +192,7 @@ public: virtual ~shared_state() { if ( ready_ && ! except_) { - reinterpret_cast< R * >( & storage_)->~R(); + reinterpret_cast< R * >( std::addressof( storage_) )->~R(); } } |