Opened 9 years ago
Closed 9 years ago
#5990 closed defect (fixed)
Copy constructor and assignment operator in the C++ API
Reported by: | xeonx | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.1.0 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
As discussed on the mailing list, I propose to implement the rule of 3 on OGRGeometry and derived classes.
In order to implement the tests in ogr_test.cpp, I needed to add this file to the makefile and upgrade one existing line of code to GDAL 2.0.
Code was tested with both windows and linux.
Attachments (1)
Change History (2)
by , 9 years ago
Attachment: | gdal_rule_of_3.patch added |
---|
comment:1 by , 9 years ago
Milestone: | → 2.1.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Perfect. I've just added doxygen comments to warn that they will be only available since GDAL 2.1
trunk r29319 "OGRGeometry and derived classes: implement copy constructor and assignment operator (patch by Simon Hege, #5990)"