1
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle
Lioncash 2de2bb980e kernel/physical_core: Make use of std::unique_ptr
shared_ptr was used in 2d1984c20c 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.
2020-01-30 18:42:40 -05:00
..
kernel kernel/physical_core: Make use of std::unique_ptr 2020-01-30 18:42:40 -05:00
service bsd: Stub several more functions. 2020-01-25 00:47:15 -05:00
ipc.h common_func: Use std::array for INSERT_PADDING_* macros. 2019-11-03 22:22:41 -05:00
ipc_helpers.h kernel: Implement a more accurate IPC dispatch. 2019-11-28 12:01:53 -05:00
lock.cpp
lock.h
result.h result: Add default error code for the ResultCode(-1) case 2019-11-12 07:55:38 -05:00