mirror of
https://github.com/matrix-construct/construct
synced 2024-10-03 22:28:52 +02:00
ircd::net: Explicitly construct these things here.
This commit is contained in:
parent
bcece15c54
commit
5ba64df248
1 changed files with 4 additions and 1 deletions
|
@ -3297,7 +3297,10 @@ try
|
|||
cache.put_error(qd.at(0), header.rcode);
|
||||
|
||||
if(tag.cb)
|
||||
tag.cb({}, tag.hp, vector_view<const rfc1035::record *>(record, i));
|
||||
{
|
||||
const vector_view<const rfc1035::record *> records(record, i);
|
||||
tag.cb(std::exception_ptr{}, tag.hp, records);
|
||||
}
|
||||
}
|
||||
catch(const std::exception &e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue