refactor: modernize standard library usage across six Sonar rules (#5930)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-10-14 15:33:54 -04:00
1 parent 81a677c1ee
commit 80588defde
37 files changed
+464 -121

No files matched your search

+1 -1
View File
@@ -2109,7 +2109,7 @@ namespace input {
// the input to the OS. This avoids potentially lengthy lock contention
// in the control stream thread while input is being processed by the OS.
{
std::lock_guard<std::mutex> lg(input->input_queue_lock);
std::scoped_lock lg(input->input_queue_lock);
// If all entries have already been processed, nothing to do
if (input->input_queue.empty()) {