summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIPC
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-07-05 19:12:37 +0200
committerGunnar Beutner <gunnar@beutner.name>2021-07-08 10:11:00 +0200
commitb0208ce433063df16aad357759a02bc08f596d9f (patch)
tree96b36785bd9d4cf366b5f5f954a85f8a3063890e /Userland/Libraries/LibIPC
parente32692ea687f3fec4f78efe0711898c051eb36db (diff)
downloadserenity-b0208ce433063df16aad357759a02bc08f596d9f.zip
Everywhere: Forward declare structs as structs
While structs being forward declared as classes is not strictly an issue, Clang complains as this is not portable code, since some ABIs treat classes declared as `class` and `struct` differently. It's easier to fix these than to reason about explicitly disabling another warning.
Diffstat (limited to 'Userland/Libraries/LibIPC')
-rw-r--r--Userland/Libraries/LibIPC/Stub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibIPC/Stub.h b/Userland/Libraries/LibIPC/Stub.h
index a4ac5aec21..a4a02808dc 100644
--- a/Userland/Libraries/LibIPC/Stub.h
+++ b/Userland/Libraries/LibIPC/Stub.h
@@ -16,7 +16,7 @@ class BufferStream;
namespace IPC {
class Message;
-class MessageBuffer;
+struct MessageBuffer;
class Stub {
public: