Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve -Wtautological-undefined-compare when building with clang
Comparing 'this' to 'nullptr' will always evaluate to false. clang and gcc optimize away the check entirely, removing the checks silences the warnings. https://clang.llvm.org/docs/DiagnosticsReference.html#wtautological-undefined-compare
- Loading branch information