C26466 NO_STATIC_DOWNCAST_POLYMORPHICC26466 NO_STATIC_DOWNCAST_POLYMORPHIC

N’utilisez pas static_cast downcasts.Don't use static_cast downcasts. Un cast d’un type polymorphe doit utiliser dynamic_cast.A cast from a polymorphic type should use dynamic_cast. Consultez Type.2 des instructions C++ Core.See C++ Core Guidelines Type.2.