diff options
author | Lioncash <mathew1800@gmail.com> | 2020-09-15 09:13:22 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-09-15 09:20:40 +0200 |
commit | ba7eb5abf4cd50b4dd1dc894bc633b678d38a1cb (patch) | |
tree | 40c3f27fd271cfd95314a7c56ffa25a38eb79a6f /src/core/memory/cheat_engine.h | |
parent | Merge pull request #4655 from lioncash/internal2 (diff) | |
download | yuzu-ba7eb5abf4cd50b4dd1dc894bc633b678d38a1cb.tar yuzu-ba7eb5abf4cd50b4dd1dc894bc633b678d38a1cb.tar.gz yuzu-ba7eb5abf4cd50b4dd1dc894bc633b678d38a1cb.tar.bz2 yuzu-ba7eb5abf4cd50b4dd1dc894bc633b678d38a1cb.tar.lz yuzu-ba7eb5abf4cd50b4dd1dc894bc633b678d38a1cb.tar.xz yuzu-ba7eb5abf4cd50b4dd1dc894bc633b678d38a1cb.tar.zst yuzu-ba7eb5abf4cd50b4dd1dc894bc633b678d38a1cb.zip |
Diffstat (limited to 'src/core/memory/cheat_engine.h')
-rw-r--r-- | src/core/memory/cheat_engine.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/memory/cheat_engine.h b/src/core/memory/cheat_engine.h index fa039a831..a31002346 100644 --- a/src/core/memory/cheat_engine.h +++ b/src/core/memory/cheat_engine.h @@ -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 |