From 66b695f5c7690ab07c93fe8089e260f31c1e6a81 Mon Sep 17 00:00:00 2001 From: psucien Date: Wed, 22 May 2024 20:20:13 +0200 Subject: [PATCH] platform: restored use of magic_enum --- src/core/platform.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/platform.h b/src/core/platform.h index 60baee6e..c8cc2a4f 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -26,7 +26,6 @@ enum class InterruptId : u32 { Compute6RelMem = 6u, GfxEop = 7u, GfxFlip = 8u, - MaxValue }; using IrqHandler = std::function; @@ -81,7 +80,7 @@ private: std::queue one_time_subscribers{}; std::mutex m_lock{}; }; - std::array irq_contexts{}; + std::array()> irq_contexts{}; }; using IrqC = Common::Singleton;