aboutsummaryrefslogtreecommitdiff
path: root/src/common/thread_queue_list.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-12 12:47:11 -0400
committerLioncash <mathew1800@gmail.com>2018-08-12 12:47:11 -0400
commit55c73e10a72651c768285caf914b23a1ed486f04 (patch)
tree368f9b6f4f3cf045dee6f04540030a27fcbdc2b4 /src/common/thread_queue_list.h
parent5926fbd3d7b51e9adeb38b6267191fca4442334e (diff)
thread_queue_list: Convert typedef to a type alias
Diffstat (limited to 'src/common/thread_queue_list.h')
-rw-r--r--src/common/thread_queue_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/thread_queue_list.h b/src/common/thread_queue_list.h
index 38a450d693..258c5f17aa 100644
--- a/src/common/thread_queue_list.h
+++ b/src/common/thread_queue_list.h
@@ -16,7 +16,7 @@ struct ThreadQueueList {
// (dynamically resizable) circular buffers to remove their overhead when
// inserting and popping.
- typedef unsigned int Priority;
+ using Priority = unsigned int;
// Number of priority levels. (Valid levels are [0..NUM_QUEUES).)
static const Priority NUM_QUEUES = N;