shane-c-lawson / breseq

Automatically exported from code.google.com/p/breseq
Other
0 stars 0 forks source link

Deep Copy for cReferenceSequences #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
cReferenceSequences currently contains a lot of pointers.  The default copy 
constructor faithfully copies the pointers.  Unfortunately for us this means 
that changing data in one cReferenceSequences can also change the data in any 
others we've copied to or from.

We need to override the default copy constructor to deep copy everything.  Look 
at LoadGFF3 for examples.

The behavior should be the same as loading fresh from a GFF3 file to memory.

Original issue reported on code.google.com by MDStr...@gmail.com on 9 Dec 2011 at 10:47

GoogleCodeExporter commented 8 years ago
This issue was closed by revision d9eb3050f6a6.

Original comment by Geoffrey...@gmail.com on 23 May 2012 at 10:32