Changeset 14908 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Data/Pool
- Timestamp:
- 05/02/17 22:03:01 (8 years ago)
- Location:
- branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Data/Pool
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Data/Pool/PooledList.cs
r14777 r14908 7 7 public class PooledList<T> : List<T>, IPooledObject { 8 8 public void Reset() { 9 this.Clear();9 Clear(); 10 10 } 11 11 } -
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Data/Pool/PooledObject.cs
r14834 r14908 16 16 17 17 public virtual void Dispose() { 18 this.resetor(this.item);19 this.pool.Free(this);18 resetor(item); 19 pool.Free(this); 20 20 } 21 21 22 22 public void Reset() { 23 this.resetor(this.item);23 resetor(item); 24 24 } 25 25 }
Note: See TracChangeset
for help on using the changeset viewer.