diff --git a/include/fc/container/flat.hpp b/include/fc/container/flat.hpp index 5e6a363..fac5869 100644 --- a/include/fc/container/flat.hpp +++ b/include/fc/container/flat.hpp @@ -7,8 +7,8 @@ namespace fc { namespace raw { - template - inline void pack( Stream& s, const flat_set& value, uint32_t _max_depth ) { + template + inline void pack( Stream& s, const flat_set& value, uint32_t _max_depth ) { FC_ASSERT( _max_depth > 0 ); --_max_depth; pack( s, unsigned_int(value.size()), _max_depth ); @@ -19,8 +19,8 @@ namespace fc { ++itr; } } - template - inline void unpack( Stream& s, flat_set& value, uint32_t _max_depth ) { + template + inline void unpack( Stream& s, flat_set& value, uint32_t _max_depth ) { FC_ASSERT( _max_depth > 0 ); --_max_depth; unsigned_int size; unpack( s, size, _max_depth ); @@ -98,8 +98,8 @@ namespace fc { } // namespace raw - template - void to_variant( const flat_set& var, variant& vo, uint32_t _max_depth ) + template + void to_variant( const flat_set& var, variant& vo, uint32_t _max_depth ) { FC_ASSERT( _max_depth > 0 ); --_max_depth; @@ -109,8 +109,8 @@ namespace fc { vars[i++] = variant( item, _max_depth ); vo = vars; } - template - void from_variant( const variant& var, flat_set& vo, uint32_t _max_depth ) + template + void from_variant( const variant& var, flat_set& vo, uint32_t _max_depth ) { FC_ASSERT( _max_depth > 0 ); --_max_depth; diff --git a/include/fc/container/flat_fwd.hpp b/include/fc/container/flat_fwd.hpp index 8db36b6..78a2010 100644 --- a/include/fc/container/flat_fwd.hpp +++ b/include/fc/container/flat_fwd.hpp @@ -11,10 +11,10 @@ namespace fc { namespace bip = boost::interprocess; namespace raw { - template - void pack( Stream& s, const flat_set& value, uint32_t _max_depth=FC_PACK_MAX_DEPTH ); - template - void unpack( Stream& s, flat_set& value, uint32_t _max_depth=FC_PACK_MAX_DEPTH ); + template + void pack( Stream& s, const flat_set& value, uint32_t _max_depth=FC_PACK_MAX_DEPTH ); + template + void unpack( Stream& s, flat_set& value, uint32_t _max_depth=FC_PACK_MAX_DEPTH ); template void pack( Stream& s, const flat_map& value, uint32_t _max_depth=FC_PACK_MAX_DEPTH ); template diff --git a/include/fc/variant.hpp b/include/fc/variant.hpp index fd286ea..343a648 100644 --- a/include/fc/variant.hpp +++ b/include/fc/variant.hpp @@ -129,10 +129,10 @@ namespace fc template void from_variant( const variant& var, std::deque& vo, uint32_t max_depth ); - template - void to_variant( const fc::flat_set& var, variant& vo, uint32_t max_depth ); - template - void from_variant( const variant& var, fc::flat_set& vo, uint32_t max_depth ); + template + void to_variant( const fc::flat_set& var, variant& vo, uint32_t max_depth ); + template + void from_variant( const variant& var, fc::flat_set& vo, uint32_t max_depth ); template void to_variant( const std::set& var, variant& vo, uint32_t max_depth );