forked from OSchip/llvm-project
c94eb0f9ef
Without this patch when using CMAKE_CXX_STANDARD=20
and MSVC 19.30.30705.0 compilation of unit tests
fails with
llvm\utils\unittest\googlemock\include\gmock/gmock-actions.h(828): error C2039: 'result_of': is not a member of 'std'
Patch is taken from Google Test:
|
||
---|---|---|
.. | ||
internal | ||
gmock-actions.h | ||
gmock-cardinalities.h | ||
gmock-function-mocker.h | ||
gmock-generated-actions.h | ||
gmock-generated-function-mockers.h | ||
gmock-generated-matchers.h | ||
gmock-matchers.h | ||
gmock-more-actions.h | ||
gmock-more-matchers.h | ||
gmock-nice-strict.h | ||
gmock-spec-builders.h | ||
gmock.h |