o3tl/qa/test-cow_wrapper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6d180f09f2d2bdb94e5d2113e509430cf8ba13cc
Author:     Noel Grandin <[email protected]>
AuthorDate: Fri Sep 7 11:24:36 2018 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Sat Sep 8 13:19:26 2018 +0200

    clang-tidy bugprone-use-after-move
    
    Change-Id: I93c33da06f638ec6c8432bd13f992c320cfde93e
    Reviewed-on: https://gerrit.libreoffice.org/60158
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

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() );
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to