From: mar77i Date: Sat, 27 Apr 2024 17:36:56 +0000 (+0200) Subject: consolidate constructor initializers somewhat X-Git-Url: https://git.mar77i.info/?a=commitdiff_plain;h=751b6c57fe28812c268bf6bce430ae45b5c0a6e1;p=bigintmandel consolidate constructor initializers somewhat --- diff --git a/mandel.cpp b/mandel.cpp index 94d4024..a6946a2 100644 --- a/mandel.cpp +++ b/mandel.cpp @@ -81,7 +81,7 @@ static inline QImage *setup_image(QImage *img, const QSize &size) { } MandelSettings::MandelSettings(size_t max_iter, const QSize size) -: img(nullptr) { +: img(nullptr) { reset(max_iter, size); } @@ -153,7 +153,9 @@ QJsonObject MandelSettings::to_json() { MandelCell::MandelCell(const MandelParams *params) : params(params) {} MandelCell::MandelCell(const MandelCell &cell) -: params(cell.params), pos(cell.pos), result(cell.result), +: params(cell.params), + pos(cell.pos), + result(cell.result), rpos0(cell.rpos0) {} void MandelCell::setup(const QPoint pos) {