]> git.ipfire.org Git - thirdparty/pdns.git/commit
dns.cc: use pdns::views::UnsignedCharView 14437/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 19 Jun 2024 11:10:15 +0000 (13:10 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 8 Jul 2024 13:41:42 +0000 (15:41 +0200)
commit1495d8ee9e76bb27f0cd339ebe223453ecf23ff1
tree699507d03e50251c70cd4728131fd6e1df2f6e43
parentd274ee077d11938ecb388def95b62e3a514c9284
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
pdns/views.hh