I removed the pdns_string_view alias in #12417 as it was no longer
used, but merging #11511 actually reintroduced it, breaking the build.
dr.d_type = qtype;
dr.d_name = qname;
dr.d_clen = serialized.size();
- PacketReader pr(pdns_string_view(reinterpret_cast<const char*>(packet.data()), packet.size()), packet.size() - serialized.size() - sizeof(dnsrecordheader));
+ PacketReader pr(std::string_view(reinterpret_cast<const char*>(packet.data()), packet.size()), packet.size() - serialized.size() - sizeof(dnsrecordheader));
/* needed to get the record boundaries right */
pr.getDnsrecordheader(drh);
auto content = DNSRecordContent::mastermake(dr, pr, Opcode::Query);