addresses clang++ warnings