Fix a warning.

This commit is contained in:
Victor Zverovich 2014-08-15 16:35:41 -07:00
parent bb01633d19
commit 366e852f00

View File

@ -129,7 +129,7 @@ void report_error(FormatFunc func,
} catch (...) {}
}
const Arg DUMMY_ARG = {Arg::INT, 0};
const Arg DUMMY_ARG = {Arg::INT, {0}};
// IsZeroInt::visit(arg) returns true iff arg is a zero integer.
class IsZeroInt : public fmt::internal::ArgVisitor<IsZeroInt, bool> {