[ADT] Avoid use of result_of_t in function_ref
authorSam McCall <sam.mccall@gmail.com>
Mon, 19 Oct 2020 12:58:31 +0000 (14:58 +0200)
committerSam McCall <sam.mccall@gmail.com>
Mon, 19 Oct 2020 12:59:45 +0000 (14:59 +0200)
commit375f7a416031b3a011a5a88ba5f80f5879d775ca
tree8b8da53da682b35684d468deddaeb34898e8b16b
parentc872faf6e0913d05ead41975d72eeb9fc085ce2b
[ADT] Avoid use of result_of_t in function_ref

It has bugs on some old libc++ versions and we don't need the power.
See https://reviews.llvm.org/D88977
llvm/include/llvm/ADT/STLExtras.h