Cleanup: Clang-Tidy bugprone-copy-constructor-init fix

No expected functional changes.
This commit is contained in:
Sybren A. Stüvel 2020-09-04 17:14:41 +02:00
parent 587f75f009
commit ce67a9d39f
2 changed files with 1 additions and 2 deletions

View File

@ -28,6 +28,5 @@ Checks: >
-bugprone-sizeof-expression,
-bugprone-integer-division,
-bugprone-copy-constructor-init,
WarningsAsErrors: '*'

View File

@ -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();