| commit | 522de7b55dc9fc46496e4dac721503f235edef04 | [log] [tgz] |
|---|---|---|
| author | Victor Zverovich <victor.zverovich@gmail.com> | Sun Feb 11 08:32:02 2018 -0800 |
| committer | Victor Zverovich <victor.zverovich@gmail.com> | Sun Feb 11 08:32:02 2018 -0800 |
| tree | f3fb97403d7b9bc838f2b06c9213d12064218063 | |
| parent | 0b508fd29d22b2535b9f641a49d886c9b2d85532 [diff] [blame] |
Replace using with typedef for compatibility with gcc-4.6
diff --git a/include/fmt/printf.h b/include/fmt/printf.h index 522d8d0..f25a8b6 100644 --- a/include/fmt/printf.h +++ b/include/fmt/printf.h
@@ -309,7 +309,7 @@ using char_type = Char; template <typename T> - using formatter_type = printf_formatter<T>; + struct formatter_type { typedef printf_formatter<T> type; }; private: using base = internal::context_base<OutputIt, basic_printf_context, Char>;