Opened 15 years ago
Closed 15 years ago
#1029 closed defect (fixed)
Fix some issues in Ptr smart pointer class
Reported by: | waltweltonlair | Owned by: | waltweltonlair |
---|---|---|---|
Priority: | high | Milestone: | 2.2 |
Component: | General | Version: | 2.1.0 |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
Our smart pointer class needs a few fixes / cleanups:
- fix a ref count problem with the copy constructor
- it's the same problem recently fixed with FdoPtr
- see https://trac.osgeo.org/fdo/ticket/331
- remove the null check from operator->
- remove the Ptr constructor which takes an integer argument
- it serves no purpose
- remove the redundant #pragma once
Change History (2)
comment:1 by , 15 years ago
Status: | new → assigned |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fix in trunk with submission r4007.