From 3da505c4c68b3f42413ea2f9002c7f2c4ef3a95d Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 25 Oct 2022 00:26:03 -0500 Subject: [PATCH] Minor perf optimization suggested by Clazy --- app/cli/startstream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cli/startstream.cpp b/app/cli/startstream.cpp index 2f53b659..0e850f1e 100644 --- a/app/cli/startstream.cpp +++ b/app/cli/startstream.cpp @@ -162,7 +162,7 @@ public: QString getCurrentAppName() const { - for (NvApp app : m_Computer->appList) { + for (const NvApp& app : m_Computer->appList) { if (m_Computer->currentGameId == app.id) { return app.name; }