Fixed uninitialized variable in IOKit controller handler

This commit is contained in:
alexey.lysiuk 2016-01-24 14:43:55 +02:00
parent be3b84e751
commit 4b210a839a

View file

@ -157,8 +157,9 @@ private:
IOHIDElementCookie cookie;
int32_t value;
DigitalButton(const IOHIDElementCookie cookie)
explicit DigitalButton(const IOHIDElementCookie cookie)
: cookie(cookie)
, value(0)
{ }
};