Fixed clang warning on lambda return type