summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-10-13 21:24:59 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-10-14 13:07:37 +0200
commit3ef807504072fcdf09653f88927683ff4f90e503 (patch)
treee58c036c91d12750abbe03af9a9af81b4923e367 /include/tools
parent85a2b2222da0e535446ce46bfcc60d13dad714f1 (diff)
version COVERITY conditionals
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 <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/ref.hxx2
1 files changed, 1 insertions, 1 deletions
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 )