[Bf-blender-cvs] [ce67a9d39f0] master: Cleanup: Clang-Tidy bugprone-copy-constructor-init fix
Sybren A. Stüvel
noreply at git.blender.org
Fri Sep 4 17:22:28 CEST 2020
Commit: ce67a9d39f0feef89bbb9f7835b52884921e66ed
Author: Sybren A. Stüvel
Date: Fri Sep 4 17:14:41 2020 +0200
Branches: master
https://developer.blender.org/rBce67a9d39f0feef89bbb9f7835b52884921e66ed
Cleanup: Clang-Tidy bugprone-copy-constructor-init fix
No expected functional changes.
===================================================================
M .clang-tidy
M source/blender/freestyle/intern/stroke/Stroke.cpp
===================================================================
diff --git a/.clang-tidy b/.clang-tidy
index f8947eb0754..bfb6b27c3c1 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -28,6 +28,5 @@ Checks: >
-bugprone-sizeof-expression,
-bugprone-integer-division,
- -bugprone-copy-constructor-init,
WarningsAsErrors: '*'
diff --git a/source/blender/freestyle/intern/stroke/Stroke.cpp b/source/blender/freestyle/intern/stroke/Stroke.cpp
index 93a870c26ad..aa87dc473e2 100644
--- a/source/blender/freestyle/intern/stroke/Stroke.cpp
+++ b/source/blender/freestyle/intern/stroke/Stroke.cpp
@@ -423,7 +423,7 @@ Stroke::Stroke()
_rep = NULL;
}
-Stroke::Stroke(const Stroke &iBrother)
+Stroke::Stroke(const Stroke &iBrother) : Interface1D(iBrother)
{
for (vertex_container::const_iterator v = iBrother._Vertices.begin(),
vend = iBrother._Vertices.end();
More information about the Bf-blender-cvs
mailing list