changed inline to BOOST_FORCEINLINE