fs.cc: don't attempt to use reference lifetime extension on std::shared_ptr

clang/gcc are erroring on this line
This commit is contained in:
Eric Wasylishen 2021-12-13 19:51:01 -07:00
parent e7d37df636
commit 0d1c342bca
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ namespace fs
// check direct archive loading
if (auto paths = splitArchivePath(p)) {
auto &arch = addArchive(paths.archive);
auto arch = addArchive(paths.archive);
if (arch) {
return { arch, paths.filename };