mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-22 05:35:03 +01:00

Some compilers we care about (mostly g++) do not support std::make_unique yet, but we still want to use it in our codebase to make unique_ptr code more readable. This commit introduces an implementation derivated from the libc++ code in the Dolphin codebase so we can use it right now everywhere. Adapted from delroth's pull request.