From 55c73e10a72651c768285caf914b23a1ed486f04 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 12 Aug 2018 12:47:11 -0400 Subject: thread_queue_list: Convert typedef to a type alias --- src/common/thread_queue_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/thread_queue_list.h') diff --git a/src/common/thread_queue_list.h b/src/common/thread_queue_list.h index 38a450d69..258c5f17a 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; -- cgit v1.2.3