1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

Meta: Pass Core::Stream::OpenMode by value in the IPCCompiler

This commit is contained in:
Lucas CHOLLET 2022-12-17 17:52:28 +01:00 committed by Sam Atkins
parent fe2ab2bd8c
commit 4e164c9de7

View file

@ -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)