Ignore:
Timestamp:
01/28/19 18:24:59 (3 years ago)
Author:
gkronber
Message:

#2520: changed HeuristicLab.BioBoost addon to compile with new HL.Persistence

Location:
addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Utils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Utils/Closure.cs

    r13071 r16575  
    2323using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2424using System;
     25using HEAL.Attic;
    2526
    2627namespace HeuristicLab.BioBoost.Utils {
     
    3233  /// </summary>
    3334  /// <typeparam name="T">The Type of the value to be wrapped.</typeparam>
    34   [StorableClass]
     35  [StorableType("75502002-CE4F-4B62-B37B-FEB93F899BA3")]
    3536  public class Closure<T> : IDeepCloneable {
    3637
     
    4748
    4849    [StorableConstructor]
    49     protected Closure(bool isDeserializing) {
     50    protected Closure(StorableConstructorFlag _) {
    5051      T value = default(T);
    5152      Getter = () => value;
  • addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Utils/StepFunction.cs

    r13071 r16575  
    3030using System.Linq;
    3131using System.Text.RegularExpressions;
     32using HEAL.Attic;
    3233
    3334namespace HeuristicLab.BioBoost.Utils {
    3435
    35   [StorableClass]
     36  [StorableType("38ABD326-0F33-4B2F-A41C-547BADF7CA3A")]
    3637  [Item("StepFunction", "A simple step function specifying upper bounds and corresponding values.")]
    3738  public class StepFunction : ParameterizedNamedItem {
     
    5253    }
    5354    [StorableConstructor]
    54     protected StepFunction(bool isDeserializing) : base(isDeserializing) {}
     55    protected StepFunction(StorableConstructorFlag _) : base(_) { }
    5556    protected StepFunction(StepFunction orig, Cloner cloner) : base(orig, cloner) {}
    5657    public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.