[Bf-blender-cvs] [c206fa9627c] master: Cleanup: add nolint comment to move semantic test

Jacques Lucke noreply at git.blender.org
Sun Oct 3 14:10:33 CEST 2021


Commit: c206fa9627c40b91d07e1abd951f06dbcf502f6d
Author: Jacques Lucke
Date:   Sun Oct 3 14:03:53 2021 +0200
Branches: master
https://developer.blender.org/rBc206fa9627c40b91d07e1abd951f06dbcf502f6d

Cleanup: add nolint comment to move semantic test

===================================================================

M	source/blender/blenkernel/intern/asset_catalog_path_test.cc

===================================================================

diff --git a/source/blender/blenkernel/intern/asset_catalog_path_test.cc b/source/blender/blenkernel/intern/asset_catalog_path_test.cc
index af15cbf405a..6110217a0fb 100644
--- a/source/blender/blenkernel/intern/asset_catalog_path_test.cc
+++ b/source/blender/blenkernel/intern/asset_catalog_path_test.cc
@@ -91,7 +91,7 @@ TEST(AssetCatalogPathTest, move_semantics)
   EXPECT_TRUE(source_path);
 
   AssetCatalogPath dest_path = std::move(source_path);
-  EXPECT_FALSE(source_path);
+  EXPECT_FALSE(source_path); /* NOLINT: bugprone-use-after-move */
   EXPECT_TRUE(dest_path);
 }



More information about the Bf-blender-cvs mailing list