diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-19 14:16:22 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-19 14:22:37 -0400 |
commit | 2752183883604673e5058a3a6f62defcdca49a72 (patch) | |
tree | f475ccc696f50a34016f788412daa868c2759dd8 /src/core/gdbstub/gdbstub.cpp | |
parent | 45195a51a76b3000e028234f619a4d15bff443eb (diff) |
xts_archive: Make AsNCA() return a std::unique_ptr instead of a std::shared_ptr
std::shared_ptr isn't strictly necessary here and is only ever used in
contexts where the object doesn't depend on being shared. This also
makes the interface more flexible, as it's possible to create a
std::shared_ptr from a std::unique_ptr (std::shared_ptr has a
constructor that accepts a std::unique_ptr), but not the other way
around.
Diffstat (limited to 'src/core/gdbstub/gdbstub.cpp')
0 files changed, 0 insertions, 0 deletions