Removed int conversion operator

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

View File

@@ -15,9 +15,7 @@ namespace Diamond.Wrappers
/// The OpenGL name of this object
/// </summary>
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
protected Wrapper(int id)
{