Apply coding conventions

This commit is contained in:
Victor Zverovich
2023-12-30 16:07:35 -08:00
parent 4939d67a83
commit 8e6b2541a6
4 changed files with 19 additions and 20 deletions

View File

@@ -310,10 +310,10 @@ TEST(printf_test, dynamic_precision) {
}
}
template <typename T> struct make_signed { typedef T type; };
template <typename T> struct make_signed { using type = T; };
#define SPECIALIZE_MAKE_SIGNED(T, S) \
template <> struct make_signed<T> { typedef S type; }
template <> struct make_signed<T> { using type = S; }
SPECIALIZE_MAKE_SIGNED(char, signed char);
SPECIALIZE_MAKE_SIGNED(unsigned char, signed char);