]> git.ipfire.org Git - thirdparty/pdns.git/commit
dns.cc: use pdns::views::UnsignedCharView 14424/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 19 Jun 2024 11:10:15 +0000 (13:10 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 4 Jul 2024 13:22:12 +0000 (15:22 +0200)
commitc72d12d941a394183d7f7fe75ad376f92b5a7375
tree912e4590bfa305a58542a61bd084651595be3e56
parent7c5a9875c2962b2a83ae45116b56b887d1428620
dns.cc: use pdns::views::UnsignedCharView

Includes minor cleanup and additions to make UnsignedCharView usable for this use case.
Supersedes #14356
Fixes
/usr/include/c++/v1/__fwd/string_view.h:22:41: warning: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 19, so please migrate off of it. [-Wdeprecated-declarations]

(cherry picked from commit 949ea9456dbe76e78aeff5f6f37f218549d1b493)
(cherry picked from commit c3a5649044ae49bdf0f0271744d76b948efcffc5)
pdns/dns.cc