Changeset 3603 for trunk/sources/HeuristicLab.Core/3.3/Constraints
- Timestamp:
- 05/04/10 14:11:47 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Constraints/ConstraintOperation.cs
r3602 r3603 40 40 41 41 [StorableConstructor] 42 protected ConstraintOperation( 42 protected ConstraintOperation(bool deserializing) { 43 43 } 44 44 protected ConstraintOperation(int value, string name) { … … 61 61 } 62 62 public static bool operator ==(ConstraintOperation co1, ConstraintOperation co2) { 63 if(object.ReferenceEquals(co1,co2)) 64 return true; 65 66 if((object)co1 == null || (object) co2 == null) 67 return false; 68 63 69 return co1.value == co2.value; 64 70 }
Note: See TracChangeset
for help on using the changeset viewer.