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

@ -45,7 +45,7 @@ class Core::Platform : public Platform_generic
/*
* Shortcut for the type of allocator instances for physical resources
*/
typedef Synced_range_allocator<Allocator_avl> Phys_allocator;
using Phys_allocator = Synced_range_allocator<Allocator_avl>;
char _core_label[1]; /* to satisfy _core_pd */
Platform_pd *_core_pd = nullptr; /* core protection domain object */

View File

@ -19,7 +19,7 @@
namespace Genode {
typedef Fiasco::l4_threadid_t Rpc_destination;
using Rpc_destination = Fiasco::l4_threadid_t;
static inline Rpc_destination invalid_rpc_destination()
{