1
0
Fork 0
forked from suyu/suyu

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