Opened 8 years ago

Closed 8 years ago

#48 closed defect (wontfix)

Many classes lack a method of performing a deep copy

Reported by: walter Owned by: Gassmann
Priority: major Milestone:
Component: other/unknown Version: trunk
Keywords: Cc:

Description

The OSInstance class contains pointers and the automatic copy and assignment operators will only perform a shallow copy.

Change History (4)

comment:1 Changed 8 years ago by Gassmann

OSInstance, OSOption and OSResult have get() and set() methods that can be used to duplicate each object. For an example see the unit test (test/unitTest.cpp).

comment:2 Changed 8 years ago by Gassmann

  • Owner set to Gassmann

comment:3 Changed 8 years ago by Gassmann

  • Status changed from new to assigned

comment:4 Changed 8 years ago by Gassmann

  • Resolution set to wontfix
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.