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

@ -35,7 +35,7 @@ class Input::Event_queue
*/
enum { QUEUE_SIZE = 512U };
typedef Genode::Ring_buffer<Input::Event, QUEUE_SIZE> Ring_buffer;
using Ring_buffer = Genode::Ring_buffer<Input::Event, QUEUE_SIZE>;
private:
@ -47,7 +47,7 @@ class Input::Event_queue
public:
typedef Ring_buffer::Overflow Overflow;
using Overflow = Ring_buffer::Overflow;
void enabled(bool enabled) { _enabled = enabled; }