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