summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2022-12-17 17:52:28 +0100
committerSam Atkins <atkinssj@gmail.com>2023-01-06 14:52:29 +0000
commit4e164c9de7613174e99c98c2e4830a9ff8d60344 (patch)
treeb29385520f9d60c5c58bfe761a9121e12197926b /Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp
parentfe2ab2bd8c84c180e3fbbab994552aaedd044d24 (diff)
downloadserenity-4e164c9de7613174e99c98c2e4830a9ff8d60344.zip
Meta: Pass `Core::Stream::OpenMode` by value in the `IPCCompiler`
Diffstat (limited to 'Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp
index b919e97acb..52b7433086 100644
--- a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp
+++ b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp
@@ -69,7 +69,7 @@ static bool is_primitive_type(DeprecatedString const& type)
static bool is_simple_type(DeprecatedString const& type)
{
// Small types that it makes sense just to pass by value.
- return type.is_one_of("Gfx::Color", "Gfx::IntPoint", "Gfx::FloatPoint", "Gfx::IntSize", "Gfx::FloatSize");
+ return type.is_one_of("Gfx::Color", "Gfx::IntPoint", "Gfx::FloatPoint", "Gfx::IntSize", "Gfx::FloatSize", "Core::Stream::OpenMode");
}
static bool is_primitive_or_simple_type(DeprecatedString const& type)