Uh oh!
There was an error while loading. Please reload this page.
refactor(sonar): fix cpp:S3608 - #257
Conversation
Introduce a local reference (dd_api = *m_dd_api) and capture it in multiple try_change lambdas (primary device, display modes, HDR states). Replace m_dd_api->... and *m_dd_api with dd_api.method calls and pass dd_api to win_utils guard functions. This simplifies lambda captures and avoids repeated member dereferencing.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## master #257 +/- ##
=======================================
Coverage 92.79% 92.80% =======================================
Files 35 35 Lines 2275 2278 +3 Branches 1116 1116 =======================================
+ Hits 2111 2114 +3
Misses 68 68 Partials 96 96
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Harness.
|
Uh oh!
There was an error while loading. Please reload this page.


Description
Fix sonar cpp:S3608
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage