summaryrefslogtreecommitdiff
path: root/Userland/Demos/Mandelbrot
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-12-06 21:35:32 +0000
committerAndreas Kling <kling@serenityos.org>2022-12-07 11:48:27 +0100
commit27fae783359ece05400dcbee66c50fee97cd1b0b (patch)
tree7918baf077884d287a8dce3ad7ccad9f9d1aaaf0 /Userland/Demos/Mandelbrot
parente011eafd3790ca0375a4678a9cb2debd0ae95ac7 (diff)
downloadserenity-27fae783359ece05400dcbee66c50fee97cd1b0b.zip
Meta+Userland: Pass Gfx::IntSize by value
Just two ints like Gfx::IntPoint.
Diffstat (limited to 'Userland/Demos/Mandelbrot')
-rw-r--r--Userland/Demos/Mandelbrot/Mandelbrot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/Mandelbrot/Mandelbrot.cpp b/Userland/Demos/Mandelbrot/Mandelbrot.cpp
index fe7581cf92..a9fd1caef8 100644
--- a/Userland/Demos/Mandelbrot/Mandelbrot.cpp
+++ b/Userland/Demos/Mandelbrot/Mandelbrot.cpp
@@ -37,7 +37,7 @@ public:
calculate();
}
- void resize(Gfx::IntSize const& size)
+ void resize(Gfx::IntSize size)
{
m_bitmap = Gfx::Bitmap::try_create(Gfx::BitmapFormat::BGRx8888, size).release_value_but_fixme_should_propagate_errors();
correct_aspect();