From 2a512b54b57ae53464601b38b05eab6f6c3cf3c4 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Tue, 22 Oct 2013 16:50:54 +0200 Subject: cppcheck (bzr r12713) --- src/libdepixelize/priv/point.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libdepixelize') diff --git a/src/libdepixelize/priv/point.h b/src/libdepixelize/priv/point.h index dc28a2b84..53babd9dc 100644 --- a/src/libdepixelize/priv/point.h +++ b/src/libdepixelize/priv/point.h @@ -30,8 +30,8 @@ namespace Tracer { template struct Point { - Point() : visible(true) {} - Point(T x, T y) : visible(true), x(x), y(y) {} + Point() : smooth(false), visible(true) {} + Point(T x, T y) : smooth(false), visible(true), x(x), y(y) {} Point(T x, T y, bool smooth) : smooth(smooth), visible(true), x(x), y(y) {} Point operator+(const Point &rhs) const -- cgit v1.2.3