summaryrefslogtreecommitdiff
path: root/o3tl/qa/test-cow_wrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'o3tl/qa/test-cow_wrapper.cxx')
-rw-r--r--o3tl/qa/test-cow_wrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3tl/qa/test-cow_wrapper.cxx b/o3tl/qa/test-cow_wrapper.cxx
index af8fa80c8b35..b5d4936d5d7d 100644
--- a/o3tl/qa/test-cow_wrapper.cxx
+++ b/o3tl/qa/test-cow_wrapper.cxx
@@ -223,7 +223,7 @@ public:
BogusRefCountPolicy::s_bShouldDecrement = true;
aTestObj3 = std::move( aTestObj2 );
CPPUNIT_ASSERT_EQUAL_MESSAGE("aTestObj2.use_count()",
- static_cast<sal_uInt32>(0), aTestObj2.use_count() );
+ static_cast<sal_uInt32>(0), aTestObj2.use_count() ); // NOLINT(bugprone-use-after-move)
CPPUNIT_ASSERT_EQUAL_MESSAGE("aTestObj3.use_count()",
static_cast<sal_uInt32>(1), aTestObj3.use_count() );