Changeset 3387


Ignore:
Timestamp:
04/18/10 00:54:55 (11 years ago)
Author:
mkommend
Message:

allowed private ctors in the cloned objects (ticket #975)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Common/3.3/DeepCloneable.cs

    r3385 r3387  
    4949    /// <returns>A clone of this instance.</returns>
    5050    public virtual IDeepCloneable Clone(Cloner cloner) {
    51       DeepCloneable clone = (DeepCloneable)Activator.CreateInstance(this.GetType());
     51      DeepCloneable clone = (DeepCloneable)Activator.CreateInstance(this.GetType(),true);
    5252      cloner.RegisterClonedObject(this, clone);
    5353      return clone;
Note: See TracChangeset for help on using the changeset viewer.