Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84832 - trunk/boost
From: steven_at_[hidden]
Date: 2013-06-18 23:53:27


Author: steven_watanabe
Date: 2013-06-18 23:53:26 EDT (Tue, 18 Jun 2013)
New Revision: 84832
URL: http://svn.boost.org/trac/boost/changeset/84832

Log:
Add missing inline

Text files modified:
   trunk/boost/crc.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/crc.hpp
==============================================================================
--- trunk/boost/crc.hpp Tue Jun 18 18:52:55 2013 (r84831)
+++ trunk/boost/crc.hpp 2013-06-18 23:53:26 EDT (Tue, 18 Jun 2013) (r84832)
@@ -438,7 +438,7 @@
           the reflected value of <var>i</var>.
      */
     boost::array< unsigned char, (UINTMAX_C( 1 ) << CHAR_BIT) >
- make_byte_reflection_table()
+ inline make_byte_reflection_table()
     {
         boost::array<unsigned char, ( UINTMAX_C(1) << CHAR_BIT )> result;
         unsigned char i = 0u;
@@ -464,7 +464,7 @@
           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<unsigned char, ( UINTMAX_C(1) << CHAR_BIT )> const
           table = make_byte_reflection_table();


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk