gcc 9.1.1 print warnings for -Wdeprecated-copy by default: tl;dr if you have operator=() defined, you have to explicitly define a copy constructor. You can do that with = default.
I think this was also covered in [patches:#63]. I'm going to take a closer look and likely either apply this, or see if there's any way to get rid of the op=().
Thanks.
I think this was also covered in [patches:#63]. I'm going to take a closer look and likely either apply this, or see if there's any way to get rid of the op=().
Related
Patches:
#63Yeah, the op=() in ColourMap is unnecessary. I am going to delete it. Checking FastVector next...
As suspected, the FastVector copy ctor and op=() are also unnecessary. Removing...
Actually, the FastVector op=() and copy ctor look OK. It's all the trivial ones for the iterators that are not necessary. Easily fixed...
ColourMap warnings should be fixed in [r15560]. FastVector warnings should be fixed in [r15561]. Please test as my gcc is rather old. Thanks.
Related
Commit: [r15560]
Commit: [r15561]