compilation failure with clang 9