summaryrefslogtreecommitdiff
path: root/boost/fiber/detail/convert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fiber/detail/convert.hpp')
-rw-r--r--boost/fiber/detail/convert.hpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/boost/fiber/detail/convert.hpp b/boost/fiber/detail/convert.hpp
index ac190d8528..ba3bbbd0aa 100644
--- a/boost/fiber/detail/convert.hpp
+++ b/boost/fiber/detail/convert.hpp
@@ -34,22 +34,6 @@ std::chrono::steady_clock::time_point convert(
return std::chrono::steady_clock::now() + ( timeout_time - Clock::now() );
}
-// suggested by Howard Hinnant
-template< typename T >
-inline
-T * convert( T * p) noexcept {
- return p;
-}
-
-template< typename Pointer >
-inline
-typename std::pointer_traits< Pointer >::element_type *
-convert( Pointer p) noexcept {
- return nullptr != p
- ? to_raw_pointer( p.operator->() )
- : nullptr;
-}
-
}}}
#ifdef BOOST_HAS_ABI_HEADERS