Hi, On 13.04.2016 18:13, Chris Pavlina wrote:
> What is the purpose of dyn_cast<> in include/core/typeinfo.h? Why don't we > just > use dynamic_cast<>? And can we either replace the former with the latter, or > add a comment to the former explaining its purpose? It uses the parallel type system in EDA_ITEM rather than RTTI, so it works if RTTI is broken, e.g. when compiling with gcc 2.95. I believe this should go. Simon
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

