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

@ -29,8 +29,8 @@ namespace Genode {
struct Genode::Root
{
typedef Rpc_in_buffer<160> Session_args;
typedef Rpc_in_buffer<160> Upgrade_args;
using Session_args = Rpc_in_buffer<160>;
using Upgrade_args = Rpc_in_buffer<160>;
virtual ~Root() { }
@ -84,7 +84,7 @@ struct Genode::Root
template <typename SESSION_TYPE>
struct Genode::Typed_root : Root
{
typedef SESSION_TYPE Session_type;
using Session_type = SESSION_TYPE;
};
#endif /* _INCLUDE__ROOT__ROOT_H_ */