- Timestamp:
- 12/02/08 21:10:17 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactorBranch/HeuristicLab.ThreadParallelEngine/ThreadParallelEngine.cs
r2 r887 58 58 } 59 59 60 public ThreadParallelEngine(ThreadParallelEngine original) : this(original, new Dictionary<Guid, object>()) { } 61 protected ThreadParallelEngine(ThreadParallelEngine original, IDictionary<Guid, object> clonedObjects) 62 : base(original, clonedObjects) { 63 this.myWorkers = original.Workers; 64 } 60 65 61 66 public override object Clone(IDictionary<Guid, object> clonedObjects) { 62 ThreadParallelEngine clone = (ThreadParallelEngine)base.Clone(clonedObjects); 63 clone.myWorkers = Workers; 64 return clone; 67 return new ThreadParallelEngine(this, clonedObjects); 65 68 } 66 69
Note: See TracChangeset
for help on using the changeset viewer.