mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Now that our minimum VS studio version allowed supports std::round, we should use that in place of Qt's qRound method. Because: - it doesn't truncate to int, resulting in unpredictable behaviour (refs #16925) - better to stick to standard c++ methods wherever possible, since they're likely better supported and optimised by the compilers - it's a tiny reduction to the barrier for entry to QGIS development (I'm sick of pointing out the need to use qRound during PR reviews!)