mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 23:55:45 +00:00
cheat_engine: Remove unnecessary system argument to CheatParser's Parse function
This isn't used within the function at all in any implementations, so we can remove it entirely.
This commit is contained in:
parent
5dbae278f4
commit
6711031e7d
3 changed files with 9 additions and 15 deletions
|
@ -47,8 +47,7 @@ class CheatParser {
|
|||
public:
|
||||
virtual ~CheatParser();
|
||||
|
||||
virtual std::vector<CheatEntry> Parse(const Core::System& system,
|
||||
std::string_view data) const = 0;
|
||||
[[nodiscard]] virtual std::vector<CheatEntry> Parse(std::string_view data) const = 0;
|
||||
};
|
||||
|
||||
// CheatParser implementation that parses text files
|
||||
|
@ -56,7 +55,7 @@ class TextCheatParser final : public CheatParser {
|
|||
public:
|
||||
~TextCheatParser() override;
|
||||
|
||||
std::vector<CheatEntry> Parse(const Core::System& system, std::string_view data) const override;
|
||||
[[nodiscard]] std::vector<CheatEntry> Parse(std::string_view data) const override;
|
||||
};
|
||||
|
||||
// Class that encapsulates a CheatList and manages its interaction with memory and CoreTiming
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue