tipc: ports use objects in the object manager

This commit is contained in:
Michael Scire 2021-04-14 00:34:46 -07:00
parent 88ac85c423
commit bdcf02a3ef

View file

@ -325,7 +325,7 @@ namespace ams::tipc {
template<typename PortInfo, size_t PortSessions>
class PortManagerImpl final : public PortManagerBase {
private:
tipc::ObjectManager<PortSessions> m_object_manager_impl;
tipc::ObjectManager<1 + PortSessions> m_object_manager_impl;
public:
PortManagerImpl() : PortManagerBase(), m_object_manager_impl() {
/* ... */