Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

thread_queue_list: Convert typedef to a type alias

Lioncash9a763748593a
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;