From 3ef807504072fcdf09653f88927683ff4f90e503 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 13 Oct 2024 21:24:59 +0100 Subject: version COVERITY conditionals MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit so there's a recheck on each major if they are still needed Change-Id: I351f731fe4eaec0ebf735147a9a168cccba3bca5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174883 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/tools/ref.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tools') diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx index 65e987ca9c2c..4ee8185dee21 100644 --- a/include/tools/ref.hxx +++ b/include/tools/ref.hxx @@ -212,7 +212,7 @@ public: SvCompatWeakRef( ) {} SvCompatWeakRef( T* pObj ) { if( pObj ) _xHdl = pObj->GetHdl(); } -#if defined(__COVERITY__) +#if defined(__COVERITY__) && __COVERITY_MAJOR__ <= 2023 ~SvCompatWeakRef() COVERITY_NOEXCEPT_FALSE {} #endif SvCompatWeakRef& operator = ( T * pObj ) -- cgit