include/unotools/weakref.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4e63159387b490e5ea49471f13c30ad60923e866 Author: Stephan Bergmann <[email protected]> AuthorDate: Wed Aug 2 16:40:42 2023 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Wed Aug 2 18:47:03 2023 +0200 Make the Xcode workaround apply more broadly ...so that it should also work for <https://ci.libreoffice.org/job/gerrit_mac/151630/>, which reports > checking whether Xcode is new enough... yes (13.3.1) Change-Id: Ifae5d4d3516d4af8947fe663d557dc232ea22ab3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155263 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/include/unotools/weakref.hxx b/include/unotools/weakref.hxx index 0c58774bb825..9679579feb1e 100644 --- a/include/unotools/weakref.hxx +++ b/include/unotools/weakref.hxx @@ -115,7 +115,7 @@ public: @return hard reference or null, if the weakly referenced interface has gone */ rtl::Reference<interface_type> SAL_CALL get() const -#if __cplusplus >= 202002L && !(defined __clang__ && __clang_major__ == 14) +#if __cplusplus >= 202002L && !(defined __clang__ && __clang_major__ <= 14) requires(!cppu::detail::isUnoInterfaceType<interface_type>) #endif {
