diff --git a/include/fc/io/raw.hpp b/include/fc/io/raw.hpp index 2125865..80d97e3 100755 --- a/include/fc/io/raw.hpp +++ b/include/fc/io/raw.hpp @@ -618,12 +618,12 @@ namespace fc { template - inline void pack( Stream& s, const T& v, uint32_t _max_depth ) { + void pack( Stream& s, const T& v, uint32_t _max_depth ) { FC_ASSERT( _max_depth > 0 ); fc::raw::detail::if_reflected< typename fc::reflector::is_defined >::pack( s, v, _max_depth - 1 ); } template - inline void unpack( Stream& s, T& v, uint32_t _max_depth ) + void unpack( Stream& s, T& v, uint32_t _max_depth ) { try { FC_ASSERT( _max_depth > 0 ); fc::raw::detail::if_reflected< typename fc::reflector::is_defined >::unpack( s, v, _max_depth - 1 ); diff --git a/include/fc/network/ip.hpp b/include/fc/network/ip.hpp index 7a55616..58f7516 100755 --- a/include/fc/network/ip.hpp +++ b/include/fc/network/ip.hpp @@ -83,13 +83,13 @@ namespace fc { namespace raw { template - inline void pack( Stream& s, const ip::address& v, uint32_t _max_depth=FC_PACK_MAX_DEPTH ) + void pack( Stream& s, const ip::address& v, uint32_t _max_depth=FC_PACK_MAX_DEPTH ) { FC_ASSERT( _max_depth > 0 ); fc::raw::pack( s, uint32_t(v), _max_depth - 1 ); } template - inline void unpack( Stream& s, ip::address& v, uint32_t _max_depth=FC_PACK_MAX_DEPTH ) + void unpack( Stream& s, ip::address& v, uint32_t _max_depth=FC_PACK_MAX_DEPTH ) { FC_ASSERT( _max_depth > 0 ); uint32_t _ip; @@ -119,7 +119,7 @@ namespace fc { } } // namespace fc -FC_REFLECT_TYPENAME( fc::ip::address ) +FC_REFLECT_EMPTY( fc::ip::address ) FC_REFLECT_TYPENAME( fc::ip::endpoint ) namespace std {