diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-07-05 19:12:37 +0200 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-07-08 10:11:00 +0200 |
commit | b0208ce433063df16aad357759a02bc08f596d9f (patch) | |
tree | 96b36785bd9d4cf366b5f5f954a85f8a3063890e /Userland/Libraries/LibIPC | |
parent | e32692ea687f3fec4f78efe0711898c051eb36db (diff) | |
download | serenity-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.h | 2 |
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: |