5c72aa7c4c
fmt::format() returns a std::string instance by value, so calling .c_str() on it here is equivalent to doing: auto* ptr = std::string{}.c_str(); The data being pointed to isn't guaranteed to actually be valid anymore after that expression ends. Instead, we can just take the string as is, and provide the necessary formatting parameters. |
||
---|---|---|
.. | ||
system_archive | ||
bis_factory.cpp | ||
bis_factory.h | ||
card_image.cpp | ||
card_image.h | ||
content_archive.cpp | ||
content_archive.h | ||
control_metadata.cpp | ||
control_metadata.h | ||
directory.h | ||
errors.h | ||
fsmitm_romfsbuild.cpp | ||
fsmitm_romfsbuild.h | ||
ips_layer.cpp | ||
ips_layer.h | ||
mode.h | ||
nca_metadata.cpp | ||
nca_metadata.h | ||
nca_patch.cpp | ||
nca_patch.h | ||
partition_filesystem.cpp | ||
partition_filesystem.h | ||
patch_manager.cpp | ||
patch_manager.h | ||
program_metadata.cpp | ||
program_metadata.h | ||
registered_cache.cpp | ||
registered_cache.h | ||
romfs_factory.cpp | ||
romfs_factory.h | ||
romfs.cpp | ||
romfs.h | ||
savedata_factory.cpp | ||
savedata_factory.h | ||
sdmc_factory.cpp | ||
sdmc_factory.h | ||
submission_package.cpp | ||
submission_package.h | ||
vfs_concat.cpp | ||
vfs_concat.h | ||
vfs_layered.cpp | ||
vfs_layered.h | ||
vfs_offset.cpp | ||
vfs_offset.h | ||
vfs_real.cpp | ||
vfs_real.h | ||
vfs_static.h | ||
vfs_types.h | ||
vfs_vector.cpp | ||
vfs_vector.h | ||
vfs.cpp | ||
vfs.h | ||
xts_archive.cpp | ||
xts_archive.h |