summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_debug.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-01-30 18:38:28 -0500
committerLioncash <mathew1800@gmail.com>2020-01-30 18:42:40 -0500
commit2de2bb980e8b032aeb6413adaaed6701e76e73f7 (patch)
tree8156623d13b7708b2808ea69d6f80a835136797b /src/yuzu/configuration/configure_debug.cpp
parent16e7b7b83d5a812cb389f808049ede3a75b8bdc3 (diff)
kernel/physical_core: Make use of std::unique_ptr
shared_ptr was used in 2d1984c20c75e03ec79eeb3806b12efa1679b977 due to a misunderstanding of how the language generates move constructors and move assignment operators. If a destructor is user-provided, then the compiler won't generate the move constructor and move assignment operators by default--they must be explicitly opted into. The reason for the compilation errors is due to the fact that the language will fall back to attempting to use the copy constructor/copy assignment operators if the respective move constructor or move assignment operator is unavailable. Given that we explicitly opt into them now, the the move constructor and move assignment operators will be generated as expected.
Diffstat (limited to 'src/yuzu/configuration/configure_debug.cpp')
0 files changed, 0 insertions, 0 deletions