2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

patch_manager: Resolve -Wignored-qualifier warnings

Top level const will always be ignored in this case, so it can be
removed.
This commit is contained in:
Lioncash 2020-08-03 07:42:53 -04:00
parent 05781ce8c4
commit 1c6d3ba397

View file

@ -288,8 +288,8 @@ std::optional<std::vector<Core::Memory::CheatEntry>> ReadCheatFileFromFolder(
}
Core::Memory::TextCheatParser parser;
return parser.Parse(
system, std::string_view(reinterpret_cast<const char* const>(data.data()), data.size()));
return parser.Parse(system,
std::string_view(reinterpret_cast<const char*>(data.data()), data.size()));
}
} // Anonymous namespace