]> git.ipfire.org Git - thirdparty/pdns.git/commit
dns.cc: use pdns::views::UnsignedCharView 14467/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>
Fri, 12 Jul 2024 10:02:52 +0000 (12:02 +0200)
commitfc0021a0eaa2741c72b9d7fc11f52376f91487b9
tree7edd353af6bed8799c1738e7cafb0356b025ae78
parentde8498540a8b2ceca5f3685e7a62e5fff4426005
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]
pdns/dns.cc
pdns/dnsdistdist/Makefile.am
pdns/dnsdistdist/views.hh [new symlink]
pdns/views.hh [new file with mode: 0644]