From ce67a9d39f0feef89bbb9f7835b52884921e66ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 4 Sep 2020 17:14:41 +0200 Subject: [PATCH] Cleanup: Clang-Tidy bugprone-copy-constructor-init fix No expected functional changes. --- .clang-tidy | 1 - source/blender/freestyle/intern/stroke/Stroke.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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();