]> git.ipfire.org Git - thirdparty/pdns.git/commit
dns.cc: use pdns::views::UnsignedCharView
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 19 Jun 2024 11:10:15 +0000 (13:10 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 4 Jul 2024 07:23:04 +0000 (09:23 +0200)
commitc4453d209043f3484f2dc2e5c6c02724c1915bf0
tree4e87b9ca7d5030da174898ce5d110537b4eb2ba5
parente5ae333b3b14edb20a6b46775096b9ee2e4f439f
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)
pdns/dns.cc