fix(format): fix linter complaining

This commit is contained in:
aPere3
2023-02-03 09:50:42 +01:00
committed by Alexandre Péré
parent 9a6309a079
commit f913c39e5b

View File

@@ -18,12 +18,8 @@ namespace serverlib {
/// Helper class template that yields an unsigned integer type given a
/// size in bytes
template <std::size_t size> struct int_type_of_size {};
template <> struct int_type_of_size<4> {
typedef uint32_t type;
};
template <> struct int_type_of_size<8> {
typedef uint64_t type;
};
template <> struct int_type_of_size<4> { typedef uint32_t type; };
template <> struct int_type_of_size<8> { typedef uint64_t type; };
/// Converts one function pointer into another
// TODO: Not sure this is valid in all implementations / on all