Creating an IOServiceIterator could have a 0 value, confused for failure.
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 13 Mar 2016 23:15:16 +0000 (19:15 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 13 Mar 2016 23:15:16 +0000 (19:15 -0400)
commitceb740f709a1490c6a2fffe1c42b0e743232dbba
treee3bc5294d430ffb7168b77121e3347185c02183e
parent15ed748a6f3584139264e93a02712dfd474640e6
Creating an IOServiceIterator could have a 0 value, confused for failure.

Instead, return bool and use an out pointer for the iterator.
apple-ir-control.cc