mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 08:34:23 -04:00
fs/sprof/build: fix minor issues
This commit is contained in:
parent
f3e3649bd5
commit
dfcb5005d2
4 changed files with 16 additions and 16 deletions
|
@ -134,7 +134,7 @@ namespace ams::fs {
|
|||
}
|
||||
|
||||
/* Create a file storage for the program's package. */
|
||||
auto package_storage = std::make_shared<FileStorage>(std::move(package_file));
|
||||
auto package_storage = fs::AllocateShared<FileStorage>(std::move(package_file));
|
||||
R_UNLESS(package_storage != nullptr, fs::ResultAllocationMemoryFailedInCodeA());
|
||||
|
||||
/* Create a partition filesystem. */
|
||||
|
@ -177,7 +177,7 @@ namespace ams::fs {
|
|||
R_TRY(fsp->OpenSdCardFileSystem(std::addressof(fs)));
|
||||
|
||||
/* Allocate a new filesystem wrapper. */
|
||||
auto fsa = std::make_shared<impl::FileSystemServiceObjectAdapter>(std::move(fs));
|
||||
auto fsa = fs::AllocateShared<impl::FileSystemServiceObjectAdapter>(std::move(fs));
|
||||
R_UNLESS(fsa != nullptr, fs::ResultAllocationMemoryFailedInCodeA());
|
||||
|
||||
*out = std::move(fsa);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue