0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::fmt: Leave useful note for assertion.

This commit is contained in:
Jason Volk 2018-04-09 11:48:20 -07:00
parent 572996ae23
commit 6dcc7e29df

View file

@ -274,7 +274,8 @@ try
auto it(begin(v));
for(size_t i(0); i < v.size(); ++it, i++)
{
assert(!finished());
assert(!finished()); // You passed too many arguments for your format string
const auto &ptr(get<0>(*it));
const auto &type(get<1>(*it));
argument(std::make_tuple(ptr, std::type_index(*type)));