Removed int conversion operator

This commit is contained in:
2017-03-01 18:19:23 -05:00
parent 4979c59695
commit 33415d28b8

View File

@@ -16,8 +16,6 @@ namespace Diamond.Wrappers
/// </summary> /// </summary>
public int Id { get; private set; } public int Id { get; private set; }
public static explicit operator int(Wrapper o) => o.Id;
// Force wrapper types to generate an Id at creation time // Force wrapper types to generate an Id at creation time
protected Wrapper(int id) protected Wrapper(int id)
{ {