commit 650c856dd6842f54d03e5b1cbb27a8662ce3307e
Author: Sergey Fokin <drigh@deviantart.com>
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
|
b
|
namespace detail
|
| 437 | 437 | <var>i</var>, <code><var>a</var>[ <var>i</var> ]</code> resolves to |
| 438 | 438 | the reflected value of <var>i</var>. |
| 439 | 439 | */ |
| 440 | | boost::array< unsigned char, (UINTMAX_C( 1 ) << CHAR_BIT) > |
| | 440 | inline boost::array< unsigned char, (UINTMAX_C( 1 ) << CHAR_BIT) > |
| 441 | 441 | make_byte_reflection_table() |
| 442 | 442 | { |
| 443 | 443 | boost::array<unsigned char, ( UINTMAX_C(1) << CHAR_BIT )> result; |
| … |
… |
namespace detail
|
| 464 | 464 | number of states is relatively small, the implementation pre-computes |
| 465 | 465 | and uses a table of all the results. |
| 466 | 466 | */ |
| 467 | | unsigned char reflect_byte( unsigned char x ) |
| | 467 | inline unsigned char reflect_byte( unsigned char x ) |
| 468 | 468 | { |
| 469 | 469 | static boost::array<unsigned char, ( UINTMAX_C(1) << CHAR_BIT )> const |
| 470 | 470 | table = make_byte_reflection_table(); |