Page MenuHomePhabricator

Pointset clone method is copying references
Closed, ResolvedPublic

Description

PointSet A
PointSet B = A->clone()

change point in A
That point is changed in B as well. Not good

Event Timeline

[a4cb22]: Merge branch 'bug-11810-psClone'

Merged commits:

2012-04-30 11:46:09 Bastian Graser [7060ff]
forgot pointset.cpp changes


2012-04-30 11:20:53 Bastian Graser [796994]
Corrected clone mehtod of pointset! Cloned pointset is now indepedent from source pointset.