mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 23:11:18 +12:00
Create L2CapWiimote
instances as shared_ptr
This commit is contained in:
parent
444a8decb1
commit
32cb2bf3b5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue