mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
Meta: Pass Core::Stream::OpenMode
by value in the IPCCompiler
This commit is contained in:
parent
fe2ab2bd8c
commit
4e164c9de7
Notes:
sideshowbarker
2024-07-17 02:05:43 +09:00
Author: https://github.com/LucasChollet
Commit: 4e164c9de7
Pull-request: https://github.com/SerenityOS/serenity/pull/16553
Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue