mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 09:49:19 +02:00
refactor(sonar): make read-only local references and pointers const (cpp:S5350)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@ void perfgraph_panel::render_contents() {
|
||||
ImGui::EndCombo();
|
||||
}
|
||||
|
||||
Timer::stopwatch *stopwatch = nullptr;
|
||||
Timer::stopwatch const *stopwatch = nullptr;
|
||||
|
||||
if (current_timer == gfx_total)
|
||||
stopwatch = &Timer::subsystem.gfx_total;
|
||||
|
||||
Reference in New Issue
Block a user