refactor: clarify C++ declarations across 13 Sonar rules (#5934)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-10-14 23:22:57 -04:00
1 parent 2e4d4f5ac0
commit a36b9f8a9c
44 files changed
+342 -162

No files matched your search

+1 -1
View File
@@ -1342,7 +1342,7 @@ namespace egl {
}
int sws_t::blank(gl::frame_buf_t &fb, int offsetX_, int offsetY_, int width, int height, bool is_yuv444) {
auto f = [&]() {
auto f = [this, &offsetX_, &offsetY_, &width, &height]() {
std::swap(offsetX_, this->offsetX);
std::swap(offsetY_, this->offsetY);
std::swap(width, this->out_width);