fixed syntax error in when_all found by clang