Version 10008004: fixed Xcode build.

This commit is contained in:
John Preston 2016-09-29 22:48:34 +03:00
parent a5eee9bd3e
commit 828b42e4f1
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public:
_parts.reserve(makeCopy.copyFrom._parts.size()); _parts.reserve(makeCopy.copyFrom._parts.size());
auto colorIt = makeCopy.colors.cbegin(), colorsEnd = makeCopy.colors.cend(); auto colorIt = makeCopy.colors.cbegin(), colorsEnd = makeCopy.colors.cend();
for_const (auto &part, makeCopy.copyFrom._parts) { for_const (auto &part, makeCopy.copyFrom._parts) {
auto &newPart = part.clone((colorIt == colorsEnd) ? Color(Qt::Uninitialized) : *(colorIt++)); auto newPart = part.clone((colorIt == colorsEnd) ? Color(Qt::Uninitialized) : *(colorIt++));
_parts.push_back(newPart); _parts.push_back(newPart);
} }
} }