Neither of these functions alter the ownership of the provided pointer, so we can simply make the parameters a reference rather than a direct shared pointer alias. This way we also disallow passing incorrect memory values like nullptr. |
||
---|---|---|
.. | ||
configuration | ||
debugger | ||
util | ||
about_dialog.cpp | ||
about_dialog.h | ||
aboutdialog.ui | ||
bootmanager.cpp | ||
bootmanager.h | ||
CMakeLists.txt | ||
compatdb.cpp | ||
compatdb.h | ||
compatdb.ui | ||
compatibility_list.cpp | ||
compatibility_list.h | ||
discord_impl.cpp | ||
discord_impl.h | ||
discord.h | ||
game_list_p.h | ||
game_list_worker.cpp | ||
game_list_worker.h | ||
game_list.cpp | ||
game_list.h | ||
hotkeys.cpp | ||
hotkeys.h | ||
hotkeys.ui | ||
Info.plist | ||
main.cpp | ||
main.h | ||
main.ui | ||
ui_settings.cpp | ||
ui_settings.h | ||
yuzu.rc |