Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13450


Ignore:
Timestamp:
12/11/15 13:27:32 (9 years ago)
Author:
abeham
Message:

#2544: fixed duplicate clone of list in ScopeList

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ScopeList.cs

    r12012 r13450  
    2121
    2222using System.Collections.Generic;
    23 using System.Linq;
    2423using HeuristicLab.Common;
    2524using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3130    [StorableConstructor]
    3231    private ScopeList(bool deserializing) : base(deserializing) { }
    33     private ScopeList(ScopeList original, Cloner cloner)
    34       : base(original, cloner) {
    35       list = new List<IScope>(original.Select(x => cloner.Clone(x)));
    36     }
     32    private ScopeList(ScopeList original, Cloner cloner) : base(original, cloner) { }
    3733    public ScopeList() : base() { }
    3834    public ScopeList(int capacity) : base(capacity) { }
Note: See TracChangeset for help on using the changeset viewer.