mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
commit
2923d7f588
2
format.h
2
format.h
@ -1046,7 +1046,7 @@ struct NamedArg : Arg {
|
|||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
NamedArg(BasicStringRef<Char> argname, const T &value)
|
NamedArg(BasicStringRef<Char> argname, const T &value)
|
||||||
: name(argname), Arg(MakeValue<Char>(value)) {
|
: Arg(MakeValue<Char>(value)), name(argname) {
|
||||||
type = static_cast<internal::Arg::Type>(MakeValue<Char>::type(value));
|
type = static_cast<internal::Arg::Type>(MakeValue<Char>::type(value));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user