From 55c73e10a72651c768285caf914b23a1ed486f04 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 12 Aug 2018 12:47:11 -0400 Subject: [PATCH] thread_queue_list: Convert typedef to a type alias --- src/common/thread_queue_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;