external/skia/c++20.patch.0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 826edb304b2c429be534d85fb8244be767ea67cf Author: Stephan Bergmann <[email protected]> AuthorDate: Tue Jul 21 17:57:01 2020 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Tue Jul 21 21:30:56 2020 +0200 external/skia: Fix previous std::result_of_t -> std::invoke_result_t change ...84c412cb8392d306ab87fc06855677612f9938a6 "external/skia: Deprecated std::result_of_t has been removed from C++20" Change-Id: I7d14306039dbcdbc9509471402299d8cbb9e48c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99168 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/external/skia/c++20.patch.0 b/external/skia/c++20.patch.0 index 71b384fcc2da..34edcb065735 100644 --- a/external/skia/c++20.patch.0 +++ b/external/skia/c++20.patch.0 @@ -5,13 +5,13 @@ template<typename C, std::size_t... Is> constexpr auto SkMakeArrayFromIndexSequence(C c, std::index_sequence<Is...>) --> std::array<std::result_of_t<C(std::size_t)>, sizeof...(Is)> { -+-> std::array<std::invoke_result_t<C(std::size_t)>, sizeof...(Is)> { ++-> std::array<std::invoke_result_t<C, std::size_t>, sizeof...(Is)> { return {{ c(Is)... }}; } template<size_t N, typename C> constexpr auto SkMakeArray(C c) --> std::array<std::result_of_t<C(std::size_t)>, N> { -+-> std::array<std::invoke_result_t<C(std::size_t)>, N> { ++-> std::array<std::invoke_result_t<C, std::size_t>, N> { return SkMakeArrayFromIndexSequence(c, std::make_index_sequence<N>{}); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
