Mercurial > minori
diff dep/animia/src/strategist.cc @ 151:54744a48a7d7
last commit part 2: struct init with {} is valid syntax, actually
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 14 Nov 2023 16:31:21 -0500 |
parents | ffa535b6d630 |
children | 8700806c2cc2 |
line wrap: on
line diff
--- a/dep/animia/src/strategist.cc Tue Nov 14 16:27:33 2023 -0500 +++ b/dep/animia/src/strategist.cc Tue Nov 14 16:31:21 2023 -0500 @@ -54,8 +54,8 @@ fd.EnumerateOpenFiles(pids, files); - for (const auto& file : files) { - success |= AddMedia({MediaInfoType::File, file.path}); + for (const auto& [pid, path] : files) { + success |= AddMedia({MediaInfoType::File, path}); } return success;