Mercurial > hg > ucis.core
diff USBLib/Communication/LibUsb1/LibUsb1Registry.cs @ 37:2e3f57f326b3
Fixed some compiler warnings
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Sun, 21 Apr 2013 19:41:19 +0200 |
parents | dcfec2be27c9 |
children | 99ed461509fe |
line wrap: on
line diff
--- a/USBLib/Communication/LibUsb1/LibUsb1Registry.cs Sun Apr 21 18:32:43 2013 +0200 +++ b/USBLib/Communication/LibUsb1/LibUsb1Registry.cs Sun Apr 21 19:41:19 2013 +0200 @@ -122,5 +122,9 @@ if (r == null) return false; return r.Device.DangerousGetHandle() == Device.DangerousGetHandle(); } + + public override int GetHashCode() { + return Device.DangerousGetHandle().GetHashCode(); + } } }