| 476 | } |
| 477 | |
| 478 | PathContainer asPathContainer(const MaybeQuotedPathContainer& value) |
| 479 | { |
| 480 | PathContainer res; |
| 481 | res.reserve(value.size()); |
| 482 | for (const auto& maybeQuotedPath : value) |
| 483 | { |
| 484 | res.emplace_back(maybeQuotedPath.u8string()); // This call to u8string is redundant, but required to build |
| 485 | // on MSVC 14.26 due to implementation bugs. |
| 486 | } |
| 487 | return res; |
| 488 | } |
| 489 | |
| 490 | } /* namespace Files */ |