diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-11 21:51:05 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-12 01:34:13 +0200 |
commit | d8f6000f5434b94412ac5738f8f72ba7ad9f8497 (patch) | |
tree | a65209743e49853ff898fa0c5bb2d3192ce0446c | |
parent | Externals: Upgrade bundled Boost to 1.64 (diff) | |
download | yuzu-d8f6000f5434b94412ac5738f8f72ba7ad9f8497.tar yuzu-d8f6000f5434b94412ac5738f8f72ba7ad9f8497.tar.gz yuzu-d8f6000f5434b94412ac5738f8f72ba7ad9f8497.tar.bz2 yuzu-d8f6000f5434b94412ac5738f8f72ba7ad9f8497.tar.lz yuzu-d8f6000f5434b94412ac5738f8f72ba7ad9f8497.tar.xz yuzu-d8f6000f5434b94412ac5738f8f72ba7ad9f8497.tar.zst yuzu-d8f6000f5434b94412ac5738f8f72ba7ad9f8497.zip |
-rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 4 |
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 @@ #include <array> #include <memory> #include <vector> +#include <boost/container/small_vector.hpp> #include "common/common_types.h" #include "common/swap.h" #include "core/hle/ipc.h" @@ -127,7 +128,8 @@ private: std::array<u32, IPC::COMMAND_BUFFER_LENGTH> cmd_buf; SharedPtr<ServerSession> session; - std::vector<SharedPtr<Object>> request_handles; + // TODO(yuriks): Check common usage of this and optimize size accordingly + boost::container::small_vector<SharedPtr<Object>, 8> request_handles; }; } // namespace Kernel |