diff --git a/plugins/builtin/source/content/file_extraction.cpp b/plugins/builtin/source/content/file_extraction.cpp index 4961f1df8c319..66f928a91943c 100644 --- a/plugins/builtin/source/content/file_extraction.cpp +++ b/plugins/builtin/source/content/file_extraction.cpp @@ -13,7 +13,7 @@ namespace hex::plugin::builtin { } }; - for (const auto [extractFolder, alwaysExtract] : Paths) { + for (const auto &[extractFolder, alwaysExtract] : Paths) { for (const auto &romfsPath : romfs::list(extractFolder)) { for (const auto &imhexPath : fs::getDataPaths()) { const auto path = imhexPath / std::fs::relative(romfsPath, extractFolder);