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

@ -81,7 +81,7 @@ class Genode::Capability_space_tpl : Noncopyable
{
private:
typedef CAP_DATA Data;
using Data = CAP_DATA;
/**
* Supplement Native_capability::Data with the meta data needed to

View File

@ -110,7 +110,7 @@ namespace {
private:
typedef Genode::size_t size_t;
using size_t = Genode::size_t;
msghdr _msg { };
iovec _iovec { };

View File

@ -427,7 +427,7 @@ namespace {
struct Global_allocator : Allocator
{
typedef Genode::size_t size_t;
using size_t = Genode::size_t;
Alloc_result try_alloc(size_t size) override { return malloc(size); }