From 1eef04f6d92659ba07cbe3882fccb2bb146d2dab Mon Sep 17 00:00:00 2001 From: Jared Bruni Date: Wed, 13 Mar 2024 21:47:38 -0700 Subject: [PATCH] const --- glitch.gui/cv_fractal.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glitch.gui/cv_fractal.hpp b/glitch.gui/cv_fractal.hpp index 56c3e6f..5353925 100644 --- a/glitch.gui/cv_fractal.hpp +++ b/glitch.gui/cv_fractal.hpp @@ -37,7 +37,7 @@ namespace cv_fract { std::cerr << "Error invalid iterations\n"; } - void setZoom(double z) { + void setZoom(const double &z) { zoom_ = z; }