diff options
author | Lioncash <mathew1800@gmail.com> | 2020-11-18 02:06:42 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-11-18 02:06:44 -0500 |
commit | bcaadac22ca8a7320a46644e8199ef333edce8e9 (patch) | |
tree | 968303f713e9efe6b65ac668f057a5f63495134f /src/yuzu_tester/yuzu.cpp | |
parent | abda36636245c416a75774165d2a5b49610952fc (diff) |
core: Make use of [[nodiscard]] with the System class
Given this is a central class, we should flag cases where the return
value of some functions not being used is likely a bug.
Diffstat (limited to 'src/yuzu_tester/yuzu.cpp')
-rw-r--r-- | src/yuzu_tester/yuzu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu_tester/yuzu.cpp b/src/yuzu_tester/yuzu.cpp index 5798ce43a..88e4bd1f7 100644 --- a/src/yuzu_tester/yuzu.cpp +++ b/src/yuzu_tester/yuzu.cpp @@ -256,11 +256,11 @@ int main(int argc, char** argv) { system.GPU().Start(); - system.Run(); + void(system.Run()); while (!finished) { std::this_thread::sleep_for(std::chrono::milliseconds(1)); } - system.Pause(); + void(system.Pause()); detached_tasks.WaitForAllTasks(); return return_value; |