Open pvginkel opened 1 year ago
Deleted the copy constructor and the copy operator because it's not supported. The default copy constructor and operator give you a copy, but when one of them is deleted, that also deletes the memory the other instance is pointing to.
Deleted the copy constructor and the copy operator because it's not supported. The default copy constructor and operator give you a copy, but when one of them is deleted, that also deletes the memory the other instance is pointing to.