Commit b26e239c authored by Victor Zverovich's avatar Victor Zverovich Committed by Jonathan Müller

Fix MSVC warnings

(cherry picked from commit e0d6f630)
parent 300d4f3c
......@@ -1521,7 +1521,7 @@ class ArgVisitor {
case Arg::NONE:
case Arg::NAMED_ARG:
FMT_ASSERT(false, "invalid argument type");
return Result();
break;
case Arg::INT:
return FMT_DISPATCH(visit_int(arg.int_value));
case Arg::UINT:
......@@ -1549,6 +1549,7 @@ class ArgVisitor {
case Arg::CUSTOM:
return FMT_DISPATCH(visit_custom(arg.custom));
}
return Result();
}
};
......
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