aboutsummaryrefslogtreecommitdiff
path: root/test/printf-test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/printf-test.cc')
-rw-r--r--test/printf-test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/printf-test.cc b/test/printf-test.cc
index 81db9b23..7e09ecca 100644
--- a/test/printf-test.cc
+++ b/test/printf-test.cc
@@ -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);