Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a get_bool_option function to transcode.cpp.
The clang-tidy "implicit boolean conversion" check pointed out a couple of places where integers were implicitly converted to booleans in conditional statements. Add a get_bool_option function (that handles the int->bool conversion) to allow better type checking of the callers. https://clang.llvm.org/extra/clang-tidy/checks/readability-implicit-bool-conversion.html
- Loading branch information