[geos-devel] MSVC / Error C2280

Even Rouault even.rouault at spatialys.com
Sat May 7 16:34:36 PDT 2022


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