Replace use of 'typedef' by 'using'

Issue #5227
This commit is contained in:
Norman Feske
2024-06-28 17:20:59 +02:00
parent 361557e1f0
commit 19c13877ca
442 changed files with 1306 additions and 1349 deletions

View File

@ -40,14 +40,14 @@ struct Genode::Log_session : Session
static constexpr unsigned CAP_QUOTA = 2;
static constexpr size_t RAM_QUOTA = 8*1024;
typedef Log_session_client Client;
using Client = Log_session_client;
virtual ~Log_session() { }
/* the lowest platform-specific maximum IPC payload size (OKL4) */
enum { MAX_STRING_LEN = 232 };
typedef Rpc_in_buffer<MAX_STRING_LEN> String;
using String = Rpc_in_buffer<MAX_STRING_LEN>;
/**
* Output null-terminated string