summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDNS/Name.cpp
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-01-22 05:09:11 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-01-29 19:16:44 -0700
commit8464da143987e290fa3d9ad739b491e6adbffee6 (patch)
tree58905a6ac790d1e2368b9132403b190271617c4b /Userland/Libraries/LibDNS/Name.cpp
parent5f2ea31816612dead5bc7ac59d27da0bc4b45736 (diff)
downloadserenity-8464da143987e290fa3d9ad739b491e6adbffee6.zip
AK: Move `Stream` and `SeekableStream` from `LibCore`
`Stream` will be qualified as `AK::Stream` until we remove the `Core::Stream` namespace. `IODevice` now reuses the `SeekMode` that is defined by `SeekableStream`, since defining its own would require us to qualify it with `AK::SeekMode` everywhere.
Diffstat (limited to 'Userland/Libraries/LibDNS/Name.cpp')
-rw-r--r--Userland/Libraries/LibDNS/Name.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibDNS/Name.cpp b/Userland/Libraries/LibDNS/Name.cpp
index 39ee9ae0cc..ddd42bc82d 100644
--- a/Userland/Libraries/LibDNS/Name.cpp
+++ b/Userland/Libraries/LibDNS/Name.cpp
@@ -75,7 +75,7 @@ void Name::randomize_case()
m_name = builder.to_deprecated_string();
}
-ErrorOr<void> Name::write_to_stream(Core::Stream::Stream& stream) const
+ErrorOr<void> Name::write_to_stream(AK::Stream& stream) const
{
auto parts = as_string().split_view('.');
for (auto& part : parts) {