diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-02-08 23:05:44 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-13 00:50:07 +0000 |
commit | a96339b72b3b417ffaa4fbb4e7575149f749acaa (patch) | |
tree | 10cd665265e85a750d6a84713bedf73acf359069 /Meta | |
parent | d43a7eae545cd699f301471bd0f82399174339c1 (diff) | |
download | serenity-a96339b72b3b417ffaa4fbb4e7575149f749acaa.zip |
LibCore: Move Stream-based sockets into the `Core` namespace
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp index 9d58aa0ff3..2a106802a3 100644 --- a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp @@ -338,7 +338,7 @@ public:)~~~"); static i32 static_message_id() { return (int)MessageID::@message.pascal_name@; } virtual const char* message_name() const override { return "@endpoint.name@::@message.pascal_name@"; } - static ErrorOr<NonnullOwnPtr<@message.pascal_name@>> decode(AK::Stream& stream, Core::Stream::LocalSocket& socket) + static ErrorOr<NonnullOwnPtr<@message.pascal_name@>> decode(AK::Stream& stream, Core::LocalSocket& socket) { IPC::Decoder decoder { stream, socket };)~~~"); @@ -584,7 +584,7 @@ public: static u32 static_magic() { return @endpoint.magic@; } - static ErrorOr<NonnullOwnPtr<IPC::Message>> decode_message(ReadonlyBytes buffer, [[maybe_unused]] Core::Stream::LocalSocket& socket) + static ErrorOr<NonnullOwnPtr<IPC::Message>> decode_message(ReadonlyBytes buffer, [[maybe_unused]] Core::LocalSocket& socket) { FixedMemoryStream stream { buffer }; auto message_endpoint_magic = TRY(stream.read_value<u32>());)~~~"); |