[QGIS-Developer] cppcheck false positive
Matthias Kuhn
matthias at opengis.ch
Tue Sep 29 09:47:31 PDT 2020
On Tue, Sep 29, 2020 at 6:15 PM Alessandro Pasotti <apasotti at gmail.com>
wrote:
>
>
> Hi Matthias,
>
> I agree with you, I hope the compilers will catch up sooner or later,
>
but I must also say that especially when working on the providers or
> other "low" level parts of the code I appreciated the fact that
> narrowcasting is prohibited with brace initializers and it made my
> code a little more robust and type safe.
>
Maybe it made it more safe.
Maybe it will suddenly start to behave differently with a different
compiler. Or a new constructor in a library that is being used.
Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200929/b64b1e12/attachment.html>
More information about the QGIS-Developer
mailing list