Commit 314a5d70 authored by Justin Bogner's avatar Justin Bogner
Browse files

Simplify a conditional in order to avoid a warning under MSVC

We were using some convoluted logic here to check if the result of a
`bool` returning function was false, causing MSVC to give a warning
about "'>': unsafe use of type 'bool' in operation". This just removes
the greater-than comparison of the bool against zero.
parent 6f4a0c76
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment