Skip to content

Commit 92cb497

Browse files
Lukas BehalLukas Behal
authored andcommitted
build break fix - removed missed new constrain which is not required anymore
1 parent 84e4758 commit 92cb497

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Services/Ordering/Ordering.Domain/SeedWork/Enumeration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static T FromDisplayName<T>(string displayName) where T : Enumeration
6262
return matchingItem;
6363
}
6464

65-
private static T Parse<T, K>(K value, string description, Func<T, bool> predicate) where T : Enumeration, new()
65+
private static T Parse<T, K>(K value, string description, Func<T, bool> predicate) where T : Enumeration
6666
{
6767
var matchingItem = GetAll<T>().FirstOrDefault(predicate);
6868

0 commit comments

Comments
 (0)