Correctly avoid function<void>
Merge pull request #98 from pandamicro/develop

Correctly avoid function<void>