electron/shell
trop[bot] cd6e3d720f
refactor: fix modernize-return-braced-init-list warnings (#44857)
* refactor: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]

NB: using the braced-initializer list uncovered an error here:
the float returned by std::floor() can't be implicitly cast to
an int. This is solved by using base::ClampFloor<int>() instead.
std::floor()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-11-26 22:18:00 -06:00
..
app fix: trace-startup crashing child process on macOS (#44276) 2024-10-17 22:23:30 -04:00
browser refactor: fix modernize-return-braced-init-list warnings (#44857) 2024-11-26 22:18:00 -06:00
common refactor: fix modernize-return-braced-init-list warnings (#44857) 2024-11-26 22:18:00 -06:00
renderer refactor: fix modernize-return-braced-init-list warnings (#44857) 2024-11-26 22:18:00 -06:00
services/node fix: -Wunsafe-buffer-usage warning in ChunkedDataPipeReadableStream (#44223) 2024-10-14 11:37:40 -05:00
utility chore: bump chromium to 129.0.6630.0 (main) (#43087) 2024-08-02 09:02:11 -05:00