Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 250 Bytes

README-copyable-polymorphic.md

File metadata and controls

8 lines (5 loc) · 250 Bytes

copyable-polymorphic

Finds polymorphic classes that are copyable. These classes are usually vulnerable to slicing [1].

To fix these warnings use Q_DISABLE_COPY or delete the copy-ctor yourself.

[1] https://en.wikipedia.org/wiki/Object_slicing