mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Remove redundant ctor
This commit is contained in:
parent
213e09644f
commit
d6eede9e08
@ -2178,8 +2178,7 @@ template <typename Char> struct arg_ref {
|
|||||||
|
|
||||||
arg_id_kind kind;
|
arg_id_kind kind;
|
||||||
union value {
|
union value {
|
||||||
FMT_CONSTEXPR value() : index{0u} {}
|
FMT_CONSTEXPR value(int id = 0) : index{id} {}
|
||||||
FMT_CONSTEXPR value(int id) : index{id} {}
|
|
||||||
FMT_CONSTEXPR value(basic_string_view<Char> n) : name(n) {}
|
FMT_CONSTEXPR value(basic_string_view<Char> n) : name(n) {}
|
||||||
|
|
||||||
int index;
|
int index;
|
||||||
|
Loading…
Reference in New Issue
Block a user