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

@ -17,6 +17,6 @@
#include <base/capability.h>
#include <framebuffer_session/framebuffer_session.h>
namespace Framebuffer { typedef Genode::Capability<Session> Session_capability; }
namespace Framebuffer { using Session_capability = Genode::Capability<Session>; }
#endif /* _INCLUDE__FRAMEBUFFER_SESSION__CAPABILITY_H_ */

View File

@ -57,7 +57,7 @@ struct Framebuffer::Session : Genode::Session
*/
static constexpr unsigned CAP_QUOTA = 3;
typedef Session_client Client;
using Client = Session_client;
virtual ~Session() { }