[mapguide-trac] #1029: Fix some issues in Ptr smart pointer class

MapGuide Open Source trac_mapguide at osgeo.org
Thu Jul 9 10:20:27 EDT 2009


#1029: Fix some issues in Ptr smart pointer class
------------------------------+---------------------------------------------
   Reporter:  waltweltonlair  |       Owner:  waltweltonlair
       Type:  defect          |      Status:  new           
   Priority:  high            |   Milestone:  2.2           
  Component:  General         |     Version:  2.1.0         
   Severity:  major           |    Keywords:                
External_id:                  |  
------------------------------+---------------------------------------------
 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

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/1029>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list