summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-02-02 11:39:05 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2021-02-03 14:05:10 +0100
commit9505bd84db40d645cd56d791fe1af614d287b5d7 (patch)
treedd561ed5dd3e598edd2cd20d42f80f2d47d78007 /src/gui/painting/qdrawhelper.cpp
parentdca74b45a33de3ec098b936b087a112c7112241b (diff)
De-const the members of QHypotHelper to enable assignment operators
Being able to iterate h = h.add(next) over a sequence of numbers makes it possible to implement arbitrarily-many parameter functions that need hypot, e.g. the implementation of V4's Math.hypot(). This amends commit b08368d99fa41b3f84cf30468c2dc9f5c2c43423. Change-Id: I76bb65bd5f318e915d42fa4c935129850e258132 Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/gui/painting/qdrawhelper.cpp')
0 files changed, 0 insertions, 0 deletions