FMT_NUMERIC_ALIGN -> FMT_DEPRECATED_NUMERIC_ALIGN

This commit is contained in:
Victor Zverovich
2020-07-03 08:30:05 -07:00
parent 56e63078ff
commit 56fed78149
3 changed files with 7 additions and 7 deletions

View File

@@ -226,8 +226,8 @@ FMT_END_NAMESPACE
#endif
// Enable the deprecated numeric alignment.
#ifndef FMT_NUMERIC_ALIGN
# define FMT_NUMERIC_ALIGN 1
#ifndef FMT_DEPRECATED_NUMERIC_ALIGN
# define FMT_DEPRECATED_NUMERIC_ALIGN 1
#endif
FMT_BEGIN_NAMESPACE
@@ -2445,7 +2445,7 @@ FMT_CONSTEXPR const Char* parse_align(const Char* begin, const Char* end,
case '>':
align = align::right;
break;
#if FMT_NUMERIC_ALIGN
#if FMT_DEPRECATED_NUMERIC_ALIGN
case '=':
align = align::numeric;
break;