const, and clear clang warning