diff options
Diffstat (limited to 'cppu/qa/test_reference.cxx')
-rw-r--r-- | cppu/qa/test_reference.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx index 79ff90ae4101..6ffb319077ed 100644 --- a/cppu/qa/test_reference.cxx +++ b/cppu/qa/test_reference.cxx @@ -60,12 +60,12 @@ public: return Any(); } - virtual void SAL_CALL acquire() throw () override + virtual void SAL_CALL acquire() noexcept override { osl_atomic_increment( &m_refCount ); } - virtual void SAL_CALL release() throw () override + virtual void SAL_CALL release() noexcept override { if ( 0 == osl_atomic_decrement( &m_refCount ) ) delete this; |