]> git.ipfire.org Git - thirdparty/kea.git/commit
[#3532] Replace Name::NameString with vector of uint8_t
authorDimitry Andric <dimitry@andric.com>
Sat, 3 Aug 2024 12:37:52 +0000 (14:37 +0200)
committerAndrei Pavel <andrei@isc.org>
Tue, 3 Sep 2024 06:02:39 +0000 (09:02 +0300)
commitd4878ebec89ed1f869940e67cff8f8fe657b2ee4
tree9a7cf21f68bebba42101f7d583b2ffd537df6d39
parent27a2feadf21e25004529e8cfd7c0a151de30a7bd
[#3532] Replace Name::NameString with vector of uint8_t

As noted in the libc++ 19 release notes, it now only provides
std::char_traits<> for types char, char8_t, char16_t, char32_t and
wchar_t, and any instantiation for other types will fail.

Name::NameString is defined as a std::basic_string<uint8_t>, so that
will no longer work. Redefine it as a std::vector<uint8_t> instead.
src/lib/dns/name.cc
src/lib/dns/name.h