Commit e9bff788 authored by Victor Zverovich's avatar Victor Zverovich

Don't parse % unless FMT_DEPRECATED_PERCENT is set

parent 57b6f296
......@@ -1288,12 +1288,12 @@ FMT_CONSTEXPR float_spec parse_float_type_spec(char spec,
case 'f':
result.format = float_format::fixed;
break;
case '%':
#if FMT_DEPRECATED_PERCENT
case '%':
result.format = float_format::fixed;
result.percent = true;
#endif
break;
#endif
case 'A':
result.upper = true;
FMT_FALLTHROUGH;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment