mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
C++23 fixes
This commit is contained in:
parent
15177768ac
commit
29c203fd54
6 changed files with 8 additions and 8 deletions
|
|
@ -16,7 +16,7 @@ Image CreateBall(int r, Color color)
|
|||
int q = ((x - r) * (x - r) + (y - r) * (y - r)) * 256 / r2;
|
||||
a.a = q <= 255 ? q : 0;
|
||||
}
|
||||
return b;
|
||||
return Image(b);
|
||||
}
|
||||
|
||||
struct BallMaker : ImageMaker {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue