Get rid of some inlines

This commit is contained in:
Peter Conrad 2019-05-15 12:48:06 +02:00 committed by gladcow
parent 23761bade5
commit a94d110b5d
2 changed files with 2 additions and 3 deletions

View file

@ -522,7 +522,6 @@ namespace fc {
} }
template<typename Stream, typename T> template<typename Stream, typename T>
void pack( Stream& s, const T& v ) { void pack( Stream& s, const T& v ) {
fc::raw::detail::if_reflected< typename fc::reflector<T>::is_defined >::pack(s,v); fc::raw::detail::if_reflected< typename fc::reflector<T>::is_defined >::pack(s,v);

View file

@ -83,12 +83,12 @@ namespace fc {
namespace raw namespace raw
{ {
template<typename Stream> template<typename Stream>
inline void pack( Stream& s, const ip::address& v ) void pack( Stream& s, const ip::address& v )
{ {
fc::raw::pack( s, uint32_t(v) ); fc::raw::pack( s, uint32_t(v) );
} }
template<typename Stream> template<typename Stream>
inline void unpack( Stream& s, ip::address& v ) void unpack( Stream& s, ip::address& v )
{ {
uint32_t _ip; uint32_t _ip;
fc::raw::unpack( s, _ip ); fc::raw::unpack( s, _ip );