diff --git a/include/boost/detail/yield_k.hpp b/include/boost/detail/yield_k.hpp index 08dfc8f..e3f6917 100644 --- a/include/boost/detail/yield_k.hpp +++ b/include/boost/detail/yield_k.hpp @@ -45,7 +45,7 @@ namespace detail extern "C" void __stdcall Sleep( unsigned ms ); #endif -void yield( unsigned k ) +inline void yield( unsigned k ) { if( k < 4 ) { @@ -81,7 +81,7 @@ namespace boost namespace detail { -void yield( unsigned k ) +inline void yield( unsigned k ) { if( k < 4 ) {