1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-08 04:20:09 +00:00

Updates to avoid pedantic warnings in gcc.

This commit is contained in:
jules 2015-04-07 14:37:12 +01:00
parent bbe1b0bc01
commit afbec9cf3c
4 changed files with 11 additions and 9 deletions

View file

@ -1567,17 +1567,17 @@ void Path::restoreFromString (StringRef stringVersion)
}
//==============================================================================
Path::Iterator::Iterator (const Path& path_)
: path (path_),
index (0)
Path::Iterator::Iterator (const Path& p) noexcept
: x1 (0), y1 (0), x2 (0), y2 (0), x3 (0), y3 (0),
path (p), index (0)
{
}
Path::Iterator::~Iterator()
Path::Iterator::~Iterator() noexcept
{
}
bool Path::Iterator::next()
bool Path::Iterator::next() noexcept
{
const float* const elements = path.data.elements;