[clazy] [Bug 430672] Level 2 lint copyable-polymorphic is a false positive for pure virtual classes
David Faure
bugzilla_noreply at kde.org
Thu Jun 3 13:13:29 BST 2021
https://bugs.kde.org/show_bug.cgi?id=430672
David Faure <faure at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |faure at kde.org
--- Comment #2 from David Faure <faure at kde.org> ---
So that subclasses can be copied. Of course the right way to do this then is to
make the copy constructor protected (rather than defaulting to public) in the
base class. See https://bugs.kde.org/show_bug.cgi?id=438027, which I now
believe is the same bug, sorry about that.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list