diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-07 11:24:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-08 13:19:26 +0200 |
commit | 6d180f09f2d2bdb94e5d2113e509430cf8ba13cc (patch) | |
tree | 54709401001d63d941702fcd1e974a56a13879a9 | |
parent | 867ee21fe4c0c9216aea57850efec4de3c3fc554 (diff) |
clang-tidy bugprone-use-after-move
Change-Id: I93c33da06f638ec6c8432bd13f992c320cfde93e
Reviewed-on: https://gerrit.libreoffice.org/60158
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | o3tl/qa/test-cow_wrapper.cxx | 2 |
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() ); |