patch_manager: Resolve -Wignored-qualifier warnings

Top level const will always be ignored in this case, so it can be
removed.
master
Lioncash 2020-08-03 07:42:53 +07:00
parent 05781ce8c4
commit 1c6d3ba397
1 changed files with 2 additions and 2 deletions

@ -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