diff --git a/common/include/serial.h b/common/include/serial.h index b7bbcaa8b..95f1a70fe 100644 --- a/common/include/serial.h +++ b/common/include/serial.h @@ -307,10 +307,7 @@ typename T::maximum_size_type get_minimum_size(...); } template -static inline detail::pad_type pad() -{ - return {}; -} +using pad = detail::pad_type; #define DEFINE_SERIAL_UDT_TO_MESSAGE(TYPE, NAME, MEMBERLIST) \ DEFINE_SERIAL_CONST_UDT_TO_MESSAGE(TYPE, NAME, MEMBERLIST) \