summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-10-21 07:54:31 +0200
committerLioncash <mathew1800@gmail.com>2022-10-21 07:54:34 +0200
commit969387a79ab5888c39c5ac8bd298205e700819f8 (patch)
tree5558753cb1b8737162671c64b054449287171e6c
parentk_session_request: Simplify constructor initialization (diff)
downloadyuzu-969387a79ab5888c39c5ac8bd298205e700819f8.tar
yuzu-969387a79ab5888c39c5ac8bd298205e700819f8.tar.gz
yuzu-969387a79ab5888c39c5ac8bd298205e700819f8.tar.bz2
yuzu-969387a79ab5888c39c5ac8bd298205e700819f8.tar.lz
yuzu-969387a79ab5888c39c5ac8bd298205e700819f8.tar.xz
yuzu-969387a79ab5888c39c5ac8bd298205e700819f8.tar.zst
yuzu-969387a79ab5888c39c5ac8bd298205e700819f8.zip
-rw-r--r--src/core/hle/kernel/k_session_request.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_session_request.h b/src/core/hle/kernel/k_session_request.h
index 5a43933cf..42b1207f0 100644
--- a/src/core/hle/kernel/k_session_request.h
+++ b/src/core/hle/kernel/k_session_request.h
@@ -3,6 +3,8 @@
#pragma once
+#include <array>
+
#include "core/hle/kernel/k_auto_object.h"
#include "core/hle/kernel/k_event.h"
#include "core/hle/kernel/k_memory_block.h"
@@ -148,7 +150,7 @@ public:
private:
KernelCore& kernel;
- Mapping m_static_mappings[NumStaticMappings];
+ std::array<Mapping, NumStaticMappings> m_static_mappings;
Mapping* m_mappings{};
u8 m_num_send{};
u8 m_num_recv{};