summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIPC/Decoder.h
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/LibIPC/Decoder.h
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/LibIPC/Decoder.h')
-rw-r--r--Userland/Libraries/LibIPC/Decoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibIPC/Decoder.h b/Userland/Libraries/LibIPC/Decoder.h
index b47edb5e99..7cd7405994 100644
--- a/Userland/Libraries/LibIPC/Decoder.h
+++ b/Userland/Libraries/LibIPC/Decoder.h
@@ -32,7 +32,7 @@ inline ErrorOr<T> decode(Decoder&)
class Decoder {
public:
- Decoder(Core::Stream::Stream& stream, Core::Stream::LocalSocket& socket)
+ Decoder(AK::Stream& stream, Core::Stream::LocalSocket& socket)
: m_stream(stream)
, m_socket(socket)
{
@@ -59,7 +59,7 @@ public:
Core::Stream::LocalSocket& socket() { return m_socket; }
private:
- Core::Stream::Stream& m_stream;
+ AK::Stream& m_stream;
Core::Stream::LocalSocket& m_socket;
};