summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-12-06 21:44:49 +0000
committerAndreas Kling <kling@serenityos.org>2022-12-07 11:48:27 +0100
commit1574f2c3f60808d53ba5d2f785694ec9541239d2 (patch)
treed58aacc76ce0baeb3373902cb56b15cc7c85c7fc /Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp
parent27fae783359ece05400dcbee66c50fee97cd1b0b (diff)
downloadserenity-1574f2c3f60808d53ba5d2f785694ec9541239d2.zip
Meta+Userland: Pass Gfx::FloatSize by value
Just two floats like Gfx::FloatPoint.
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 80a5b92203..674a1a9952 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");
+ return type.is_one_of("Gfx::Color", "Gfx::IntPoint", "Gfx::FloatPoint", "Gfx::IntSize", "Gfx::FloatSize");
}
static bool is_primitive_or_simple_type(DeprecatedString const& type)