From 4e164c9de7613174e99c98c2e4830a9ff8d60344 Mon Sep 17 00:00:00 2001 From: Lucas CHOLLET Date: Sat, 17 Dec 2022 17:52:28 +0100 Subject: [PATCH] Meta: Pass `Core::Stream::OpenMode` by value in the `IPCCompiler` --- Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp index b919e97acbd..52b7433086c 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)