[gdal-dev] C++11: virtual and override

Kurt Schwehr schwehr at gmail.com
Thu Dec 14 09:35:35 PST 2017


About to start dropping virtual when there is override and convert
CPL_OVERRIDE to override

I tested the override on destructors that got me in trouble with MSVC older
compilers not to long ago and all CI runs pass.
https://trac.osgeo.org/gdal/changeset/41034

Example diff for the change in frmts/raw:

https://pastebin.com/uuMv6mWj

>From https://trac.osgeo.org/gdal/wiki/rfc68_cplusplus11:

    7. CPL_OVERRIDE -> override and remove redundant virtual

-kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171214/ffe9020b/attachment.html>


More information about the gdal-dev mailing list