- 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.Encodings.PermutationEncoding/3.3/PermutationType.cs
r3436 r4722 34 34 } 35 35 36 [StorableConstructor] 37 protected PermutationType(bool deserializing) : base(deserializing) { } 38 protected PermutationType(PermutationType original, Cloner cloner) : base(original, cloner) { } 36 39 public PermutationType() : base() { } 37 40 public PermutationType(PermutationTypes type) : base(type) { } 38 41 39 42 public override IDeepCloneable Clone(Cloner cloner) { 40 PermutationType clone = new PermutationType(value); 41 cloner.RegisterClonedObject(this, clone); 42 return clone; 43 return new PermutationType(this, cloner); 43 44 } 44 45 }
Note: See TracChangeset
for help on using the changeset viewer.