E2318 'type' is not a polymorphic class type (C++)
Go Up to Compiler Errors And Warnings (C++) Index
This error is generated if the -RT compiler option (for runtime type information) is disabled and either
dynamic_cast was used with a pointer to a class
or
you tried to delete a pointer to an object of a class that has a virtual destructor