Changeset 4722 for trunk/sources/HeuristicLab.Data/3.3/BoolArray.cs
- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Data/3.3/BoolArray.cs
r3431 r4722 29 29 [StorableClass] 30 30 public class BoolArray : ValueTypeArray<bool>, IStringConvertibleArray { 31 [StorableConstructor] 32 protected BoolArray(bool deserializing) : base(deserializing) { } 33 protected BoolArray(BoolArray original, Cloner cloner) 34 : base(original, cloner) { 35 } 31 36 public BoolArray() : base() { } 32 37 public BoolArray(int length) : base(length) { } … … 34 39 35 40 public override IDeepCloneable Clone(Cloner cloner) { 36 BoolArray clone = new BoolArray(array); 37 cloner.RegisterClonedObject(this, clone); 38 clone.readOnly = readOnly; 39 return clone; 41 return new BoolArray(this, cloner); 40 42 } 41 43
Note: See TracChangeset
for help on using the changeset viewer.