commit 650c856dd6842f54d03e5b1cbb27a8662ce3307e Author: Sergey Fokin Date: Wed Sep 5 10:14:56 2012 -0700 Added inline directives to couple of internal functions diff --git a/boost/crc.hpp b/boost/crc.hpp index e47221e..ca4eaa1 100644 --- a/boost/crc.hpp +++ b/boost/crc.hpp @@ -437,7 +437,7 @@ namespace detail i, a[ i ] resolves to the reflected value of i. */ - boost::array< unsigned char, (UINTMAX_C( 1 ) << CHAR_BIT) > + inline boost::array< unsigned char, (UINTMAX_C( 1 ) << CHAR_BIT) > make_byte_reflection_table() { boost::array result; @@ -464,7 +464,7 @@ namespace detail number of states is relatively small, the implementation pre-computes and uses a table of all the results. */ - unsigned char reflect_byte( unsigned char x ) + inline unsigned char reflect_byte( unsigned char x ) { static boost::array const table = make_byte_reflection_table();