Side question, is there a technical reason to prefer this syntax over the =
one?

The = is more readable to me, but that's a matter of experience I guess.
More generally, it would be nice to decide for one syntax and have a
coherence over the source code.

Cheers,
Denis

Le mar. 29 sept. 2020 à 11:55, Alessandro Pasotti <[email protected]> a
écrit :

> Looks like cppcheck is not smart enough...
>
> const double factor { std::pow( 10, - mPrecisionSpinBox->value() ) };
>
>
> https://github.com/qgis/QGIS/pull/39079/checks?check_run_id=1181360827#step:4:1693
>
> --
> Alessandro Pasotti
> QCooperative:  www.qcooperative.net
> ItOpen:   www.itopen.it
> _______________________________________________
> QGIS-Developer mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to