diff options
author | MacDue <macdue@dueutil.tech> | 2022-12-06 20:57:07 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-07 11:48:27 +0100 |
commit | e011eafd3790ca0375a4678a9cb2debd0ae95ac7 (patch) | |
tree | 0a0b3a8131a2a61befe85aa841e32958bd53c50d /Meta | |
parent | 7be0b27dd3cd7185c1b8dc52747c50aad479bc6a (diff) | |
download | serenity-e011eafd3790ca0375a4678a9cb2debd0ae95ac7.zip |
Meta+Userland: Pass Gfx::FloatPoint by value
Just a small 8-byte value like Gfx::IntPoint.
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp | 2 |
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 27b94ff15e..e6f583076c 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"); + return type.is_one_of("Gfx::Color", "Gfx::IntPoint", "Gfx::FloatPoint"); } static bool is_primitive_or_simple_type(DeprecatedString const& type) |