remove user-defined copy constructor

We need to define our own copy constructor only
if an object has pointers or any runtime allocation
of the resource like file handle, a network connection..etc.

note: Default constructor does only shallow copy.
This commit is contained in:
Simon De Backer
2020-06-07 13:33:13 +02:00
committed by Laurent Trinques
parent 9085c6fcda
commit 803414f716
6 changed files with 0 additions and 40 deletions

View File

@@ -47,7 +47,6 @@ class DiagramContent
public:
DiagramContent();
DiagramContent(Diagram *diagram, bool selected = true);
DiagramContent(const DiagramContent &);
~DiagramContent();
/// Used to filter the different items carried by this container.