mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-10-13 16:16:00 -05:00

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.