From a7ee1a7c2e5217db538492c032cdf5289396dd39 Mon Sep 17 00:00:00 2001 From: hogliux Date: Wed, 21 Dec 2016 09:38:22 +0000 Subject: [PATCH] Added missing initialiser in Path::Iterator constructor --- modules/juce_graphics/geometry/juce_Path.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/juce_graphics/geometry/juce_Path.cpp b/modules/juce_graphics/geometry/juce_Path.cpp index a4ff1e178a..e11cff5432 100644 --- a/modules/juce_graphics/geometry/juce_Path.cpp +++ b/modules/juce_graphics/geometry/juce_Path.cpp @@ -1574,7 +1574,8 @@ void Path::restoreFromString (StringRef stringVersion) //============================================================================== Path::Iterator::Iterator (const Path& p) noexcept - : x1 (0), y1 (0), x2 (0), y2 (0), x3 (0), y3 (0), + : elementType (startNewSubPath), + x1 (0), y1 (0), x2 (0), y2 (0), x3 (0), y3 (0), path (p), index (0) { }