From 3777d57ada144bfb5d021e5ecb9ae6ec9d8275be Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 5 Apr 2019 12:56:47 +0300 Subject: [PATCH] Clang warning local variable 'polygon' will be copied despite being returned by name. --HG-- branch : develop --- src/libs/vgeometry/vellipticalarc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vgeometry/vellipticalarc.cpp b/src/libs/vgeometry/vellipticalarc.cpp index b7d69dac3..fed637732 100644 --- a/src/libs/vgeometry/vellipticalarc.cpp +++ b/src/libs/vgeometry/vellipticalarc.cpp @@ -288,7 +288,7 @@ QVector VEllipticalArc::GetPoints() const } } - return polygon; + return static_cast>(polygon); } //---------------------------------------------------------------------------------------------------------------------