diff --git a/serialization_visitors.hh b/serialization_visitors.hh index df9297f22e..88f2830e5a 100644 --- a/serialization_visitors.hh +++ b/serialization_visitors.hh @@ -86,9 +86,4 @@ size_type read_frame_size(Input& in) { return sz - sizeof(size_type); } -template -inline void skip(seastar::simple_input_stream& v, boost::type) { - return serializer::skip(v); -} - } diff --git a/serializer.hh b/serializer.hh index 68596d4318..82d0d74bd2 100644 --- a/serializer.hh +++ b/serializer.hh @@ -91,6 +91,11 @@ inline T deserialize(Input& in, boost::type t) { return serializer::read(in); }; +template +inline void skip(seastar::simple_input_stream& v, boost::type) { + return serializer::skip(v); +} + template size_type get_sizeof(const T& obj);