From 0a75ee29dae9a8cabfe57c3b2c73372314c29578 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 13 May 2021 15:35:05 +0200 Subject: [PATCH] IPCCompiler: Add "u64" and "i64" to the list of primitive types --- Userland/DevTools/IPCCompiler/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Userland/DevTools/IPCCompiler/main.cpp b/Userland/DevTools/IPCCompiler/main.cpp index e2745e07f0..2cf096747c 100644 --- a/Userland/DevTools/IPCCompiler/main.cpp +++ b/Userland/DevTools/IPCCompiler/main.cpp @@ -65,9 +65,7 @@ struct Endpoint { bool is_primitive_type(String const& type) { - return (type == "u8" || type == "i8" || type == "u16" || type == "i16" - || type == "u32" || type == "i32" || type == "bool" || type == "double" - || type == "float" || type == "int" || type == "unsigned" || type == "unsigned int"); + return type.is_one_of("u8", "i8", "u16", "i16", "u32", "i32", "u64", "i64", "bool", "double", "float", "int", "unsigned", "unsigned int"); } String message_name(String const& endpoint, String& message, bool is_response)