geos icon indicating copy to clipboard operation
geos copied to clipboard

Remove RETURN_UNIQUE_PTR

Open pramsey opened this issue 3 years ago • 1 comments

This shim to get around warnings for GCC <= 4.9 may have outlived its day. Certainly we have no shortage of unshimmed returns of std::unique_ptr at this point.

pramsey avatar Mar 11 '22 23:03 pramsey

What gcc 4.9 does not deal with is returning a value of type std::unique_ptr<CoordinateArraySequence> from a function with return type std::unique_ptr<CoordinateSequence>. Dropping support for an 8-year old compiler seems reasonable, though.

dbaston avatar Mar 12 '22 00:03 dbaston