Changeset 4722 for trunk/sources/HeuristicLab.Data/3.3/Comparison.cs
- Timestamp:
- 11/06/10 01:56:04 (13 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/Comparison.cs
r3431 r4722 34 34 } 35 35 36 [StorableConstructor] 37 protected Comparison(bool deserializing) : base(deserializing) { } 38 protected Comparison(Comparison original, Cloner cloner) 39 : base(original, cloner) { 40 } 36 41 public Comparison() : base() { } 37 42 public Comparison(ComparisonType value) : base(value) { } 38 43 39 44 public override IDeepCloneable Clone(Cloner cloner) { 40 Comparison clone = new Comparison(value); 41 cloner.RegisterClonedObject(this, clone); 42 clone.readOnly = readOnly; 43 return clone; 45 return new Comparison(this, cloner); 44 46 } 45 47
Note: See TracChangeset
for help on using the changeset viewer.