[clazy] [Bug 388682] New: rule-of-three warning in class that has a deleted copy assignment operator
Albert Astals Cid
bugzilla_noreply at kde.org
Mon Jan 8 14:56:02 GMT 2018
https://bugs.kde.org/show_bug.cgi?id=388682
Bug ID: 388682
Summary: rule-of-three warning in class that has a deleted copy
assignment operator
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: aacid at kde.org
CC: smartins at kde.org
Target Milestone: ---
Created attachment 109736
--> https://bugs.kde.org/attachment.cgi?id=109736&action=edit
main.cpp
main.cpp:4:1: warning: A has dtor, copy-ctor but not copy-assignment
[-Wclazy-rule-of-three]
class A
^
1 warning generated.
My understanding is that since we're delting the copy-assignment the code is
"safe" and the warning should not trigger.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list