Commit ec1aea34 authored by Victor Zverovich's avatar Victor Zverovich

Refactor type processing

parent ab6e7592
This diff is collapsed.
......@@ -58,7 +58,7 @@ Arg make_arg(const T &value) {
Arg arg = Arg();
Value &arg_value = arg;
arg_value = fmt::internal::MakeArg<Char>(value);
arg.type = static_cast<Arg::Type>(fmt::internal::ArgType<1, T>::TYPE);
arg.type = static_cast<Arg::Type>(fmt::internal::MakeArg<Char>::type(value));
return arg;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment