fix some warnings

This commit is contained in:
Megamouse 2023-12-29 18:33:29 +01:00
parent b1c48e66c9
commit 59c58aa3cf
72 changed files with 263 additions and 203 deletions

View file

@ -1049,7 +1049,7 @@ int main(int argc, char** argv)
}
// Check nonsensical archive locations
for (const std::string& expr : { "/Rar$" })
for (const std::string_view& expr : { "/Rar$"sv })
{
if (emu_dir.find(expr) != umax)
{