copying class with pointers as member when deleting them in the desctructor is danger zone.
forgot the right check
Merge pull request #196 from Bigpet/deleteErr

fix copying class with pointers as member