[geos-devel] MSVC / Error C2280
Paul Ramsey
pramsey at cleverelephant.ca
Sat May 7 17:16:09 PDT 2022
<facepalm>
Thanks Even, now that you point it out, that makes perfect sense.
P.
> On May 7, 2022, at 4:34 PM, Even Rouault <even.rouault at spatialys.com> wrote:
>
> Paul,
>
> I'd say you should add a deleted default copy constructor and assignment operator in PolygonHull:
>
> PolygonHull(const PolygonHull&) = delete;
> PolygonHull& operator=(const PolygonHull&) = delete;
>
> Even
>
> Le 08/05/2022 à 01:11, Paul Ramsey a écrit :
>> Hi all,
>>
>> I have again been defeated by MSVC and the nuances of unique_ptr and copy ... the build error is here:
>>
>> https://github.com/pramsey/geos/runs/6336639337?check_suite_focus=true#step:3:97
>>
>> The relevant files are
>>
>> https://github.com/pramsey/geos/blob/main-jts-polyhull/include/geos/algorithm/hull/PolygonHull.h#L137
>> https://github.com/pramsey/geos/blob/main-jts-polyhull/include/geos/algorithm/hull/RingHull.h
>>
>> Any pointers you can provide would be much appreciated.
>>
>> Thanks!
>>
>> P
>> _______________________________________________
>> geos-devel mailing list
>> geos-devel at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geos-devel
>
> --
> http://www.spatialys.com
> My software is free, but my time generally not.
>
More information about the geos-devel
mailing list