Closed AustinBrunkhorst closed 8 years ago
Compiling under MSVC 14 x64 with /W3 set gives the following warning.
warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
This commit fixes these warnings by explicitly converting the return value as a boolean.
Thanks for the submission. I've made a suggestion to make the code cleaner/clearer. If you make that tweak I'm happy to merge this.
I agree with your suggestion! I've pushed the changes. Thank you!
Compiling under MSVC 14 x64 with /W3 set gives the following warning.
This commit fixes these warnings by explicitly converting the return value as a boolean.