diff options
Diffstat (limited to 'boost/fiber/future/detail/task_object.hpp')
-rw-r--r-- | boost/fiber/future/detail/task_object.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/fiber/future/detail/task_object.hpp b/boost/fiber/future/detail/task_object.hpp index abb4c8d877..8cd4dbc96a 100644 --- a/boost/fiber/future/detail/task_object.hpp +++ b/boost/fiber/future/detail/task_object.hpp @@ -72,7 +72,7 @@ public: typedef pointer_traits< typename traity_type::pointer> ptrait_type; typename traity_type::pointer ptr{ traity_type::allocate( alloc_, 1) }; - typename ptrait_type::element_type* p = ptrait_type::to_address(ptr); + typename ptrait_type::element_type* p = boost::to_address(ptr); try { traity_type::construct( alloc_, p, alloc_, std::move( fn_) ); } catch (...) { @@ -140,7 +140,7 @@ public: typedef pointer_traits< typename traity_type::pointer> ptrait_type; typename traity_type::pointer ptr{ traity_type::allocate( alloc_, 1) }; - typename ptrait_type::element_type* p = ptrait_type::to_address(ptr); + typename ptrait_type::element_type* p = boost::to_address(ptr); try { traity_type::construct( alloc_, p, alloc_, std::move( fn_) ); } catch (...) { |