summaryrefslogtreecommitdiff
path: root/include/tools/ref.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/ref.hxx')
-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 )