mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Cleanup dead variable (#3338)
This commit is contained in:
@ -437,7 +437,6 @@ struct range_formatter<
|
|||||||
detail::has_fallback_formatter<T, Char>>>::value>> {
|
detail::has_fallback_formatter<T, Char>>>::value>> {
|
||||||
private:
|
private:
|
||||||
detail::range_formatter_type<Char, T> underlying_;
|
detail::range_formatter_type<Char, T> underlying_;
|
||||||
bool custom_specs_ = false;
|
|
||||||
basic_string_view<Char> separator_ = detail::string_literal<Char, ',', ' '>{};
|
basic_string_view<Char> separator_ = detail::string_literal<Char, ',', ' '>{};
|
||||||
basic_string_view<Char> opening_bracket_ =
|
basic_string_view<Char> opening_bracket_ =
|
||||||
detail::string_literal<Char, '['>{};
|
detail::string_literal<Char, '['>{};
|
||||||
@ -473,7 +472,6 @@ struct range_formatter<
|
|||||||
|
|
||||||
if (it != end && *it != '}') {
|
if (it != end && *it != '}') {
|
||||||
if (*it != ':') FMT_THROW(format_error("invalid format specifier"));
|
if (*it != ':') FMT_THROW(format_error("invalid format specifier"));
|
||||||
custom_specs_ = true;
|
|
||||||
++it;
|
++it;
|
||||||
} else {
|
} else {
|
||||||
detail::maybe_set_debug_format(underlying_, true);
|
detail::maybe_set_debug_format(underlying_, true);
|
||||||
|
Reference in New Issue
Block a user