mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-12 22:22:55 +00:00
Fix a bunch of compiler warnings. Not all, but a lot.
This commit is contained in:
parent
15fb917f28
commit
901b7d5d91
Notes:
sideshowbarker
2024-07-19 15:38:02 +09:00
Author: https://github.com/awesomekling
Commit: 901b7d5d91
10 changed files with 29 additions and 191 deletions
|
@ -353,7 +353,7 @@ void Painter::set_pixel(const Point& p, Color color)
|
|||
m_target->scanline(point.y())[point.x()] = color.value();
|
||||
}
|
||||
|
||||
[[gnu::always_inline]] void Painter::set_pixel_with_draw_op(dword& pixel, const Color& color)
|
||||
[[gnu::always_inline]] inline void Painter::set_pixel_with_draw_op(dword& pixel, const Color& color)
|
||||
{
|
||||
if (m_draw_op == DrawOp::Copy)
|
||||
pixel = color.value();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue