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; Core::Memory::TextCheatParser parser;
return parser.Parse( return parser.Parse(system,
system, std::string_view(reinterpret_cast<const char* const>(data.data()), data.size())); std::string_view(reinterpret_cast<const char*>(data.data()), data.size()));
} }
} // Anonymous namespace } // Anonymous namespace