mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-23 09:39:18 +01:00
Create L2CapWiimote
instances as shared_ptr
This commit is contained in:
parent
919d26f6a2
commit
34f08a4edf
@ -88,7 +88,7 @@ std::vector<WiimoteDevicePtr> L2CapWiimote::get_devices()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
outDevices.push_back(std::make_unique<L2CapWiimote>(sendFd, recvFd));
|
outDevices.emplace_back(std::make_shared<L2CapWiimote>(sendFd, recvFd));
|
||||||
}
|
}
|
||||||
return outDevices;
|
return outDevices;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user