mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 15:22:45 +01:00
thread_queue_list: Convert typedef to a type alias
This commit is contained in:
parent
5926fbd3d7
commit
55c73e10a7
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ struct ThreadQueueList {
|
||||||
// (dynamically resizable) circular buffers to remove their overhead when
|
// (dynamically resizable) circular buffers to remove their overhead when
|
||||||
// inserting and popping.
|
// inserting and popping.
|
||||||
|
|
||||||
typedef unsigned int Priority;
|
using Priority = unsigned int;
|
||||||
|
|
||||||
// Number of priority levels. (Valid levels are [0..NUM_QUEUES).)
|
// Number of priority levels. (Valid levels are [0..NUM_QUEUES).)
|
||||||
static const Priority NUM_QUEUES = N;
|
static const Priority NUM_QUEUES = N;
|
||||||
|
|
Loading…
Reference in a new issue