mirror of https://github.com/procxx/kepka.git
Version 10008004: fixed Xcode build.
This commit is contained in:
parent
a5eee9bd3e
commit
828b42e4f1
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue