summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/hle_ipc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h
index 1022dece8..cbb109d8f 100644
--- a/src/core/hle/kernel/hle_ipc.h
+++ b/src/core/hle/kernel/hle_ipc.h
@@ -7,6 +7,7 @@
7#include <array> 7#include <array>
8#include <memory> 8#include <memory>
9#include <vector> 9#include <vector>
10#include <boost/container/small_vector.hpp>
10#include "common/common_types.h" 11#include "common/common_types.h"
11#include "common/swap.h" 12#include "common/swap.h"
12#include "core/hle/ipc.h" 13#include "core/hle/ipc.h"
@@ -127,7 +128,8 @@ private:
127 128
128 std::array<u32, IPC::COMMAND_BUFFER_LENGTH> cmd_buf; 129 std::array<u32, IPC::COMMAND_BUFFER_LENGTH> cmd_buf;
129 SharedPtr<ServerSession> session; 130 SharedPtr<ServerSession> session;
130 std::vector<SharedPtr<Object>> request_handles; 131 // TODO(yuriks): Check common usage of this and optimize size accordingly
132 boost::container::small_vector<SharedPtr<Object>, 8> request_handles;
131}; 133};
132 134
133} // namespace Kernel 135} // namespace Kernel