Remove copy ctor definitions. These are implicit.
The definition of implicit copy assignment operator for a class is deprecated because it has a user-declared copy constructor as issued by -Wdeprecated-copy warning. Since the definitions of default copy constructors are implictly created by the compiler (as well as the copy assignments) the definitions are not needed.
Please register or sign in to comment