mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-01 17:41:12 +00:00
refactor: clarify C++ declarations across 13 Sonar rules (#5934)
This commit is contained in:
1 parent
2e4d4f5ac0
commit
a36b9f8a9c
44 files changed
+342
-162
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user