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

@ -30,11 +30,11 @@ class Vfs::Value_file_system : public Vfs::Single_file_system
{
public:
typedef Genode::String<64> Name;
using Name = Genode::String<64>;
private:
typedef Genode::String<BUF_SIZE + 1> Buffer;
using Buffer = Genode::String<BUF_SIZE + 1>;
Name const _file_name;
@ -116,7 +116,7 @@ class Vfs::Value_file_system : public Vfs::Single_file_system
});
}
typedef Genode::String<200> Config;
using Config = Genode::String<200>;
Config _config(Name const &name) const
{
char buf[Config::capacity()] { };