mirror of
https://github.com/fmtlib/fmt.git
synced 2025-10-28 04:31:44 +01:00
Refactor type mapping
This commit is contained in:
@@ -72,7 +72,7 @@ template <typename Char, typename T>
|
||||
Arg make_arg(const T &value) {
|
||||
typedef fmt::internal::MakeValue< fmt::BasicFormatter<Char> > MakeValue;
|
||||
Arg arg = MakeValue(value);
|
||||
arg.type = static_cast<Arg::Type>(MakeValue::type(value));
|
||||
arg.type = fmt::internal::type<T>();
|
||||
return arg;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user