mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-07 08:31:16 +00:00
commit
2923d7f588
2
format.h
2
format.h
@ -1046,7 +1046,7 @@ struct NamedArg : Arg {
|
||||
|
||||
template <typename T>
|
||||
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));
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user