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
  • 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 waltweltonlair, 15 years ago

Status: newassigned

comment:2 by waltweltonlair, 15 years ago

Resolution: fixed
Status: assignedclosed

Fix in trunk with submission r4007.

Note: See TracTickets for help on using tickets.