0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-04 17:48:35 +02:00

ircd::net: Explicitly construct these things here.

This commit is contained in:
Jason Volk 2018-05-04 18:46:13 -07:00
parent bcece15c54
commit 5ba64df248

View file

@ -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)
{