Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5398 for trunk


Ignore:
Timestamp:
01/31/11 09:02:54 (14 years ago)
Author:
cneumuel
Message:

#1247

  • Engine should be allowed to be copied also when in state Started. This is needed so that HiveEngine can make copies of Operations which reference an Engine
File:
1 edited

Legend:

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

    r5240 r5398  
    5353    protected Engine(Engine original, Cloner cloner)
    5454      : base(original, cloner) {
    55       if (original.ExecutionState == ExecutionState.Started) throw new InvalidOperationException(string.Format("Clone not allowed in execution state \"{0}\".", ExecutionState));
    5655      log = cloner.Clone(original.log);
    5756      executionStack = new Stack<IOperation>();
Note: See TracChangeset for help on using the changeset viewer.