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:
parent
572996ae23
commit
6dcc7e29df
1 changed files with 2 additions and 1 deletions
|
@ -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)));
|
||||
|
|
Loading…
Reference in a new issue