Try without std::back_inserter. Some tinderboxes don't like that.
Change-Id: I37b5da446abe123d0e0526b5556014df606e6156
This commit is contained in:
@@ -125,8 +125,13 @@ void GL3DBarChart::create3DShapes()
|
||||
p->setPosition(aTopLeft, aTopRight, aBottomRight);
|
||||
}
|
||||
|
||||
// Transfer all Y-axis text objects to the shape collection.
|
||||
std::copy(aYAxisTexts.begin(), aYAxisTexts.end(), std::back_inserter(maShapes));
|
||||
{
|
||||
// Transfer all Y-axis text objects to the shape collection.
|
||||
std::vector<opengl3D::Text*>::iterator itText = aYAxisTexts.begin(), itTextEnd = aYAxisTexts.end();
|
||||
for (; itText != itTextEnd; ++itText)
|
||||
maShapes.push_back(*itText);
|
||||
}
|
||||
|
||||
aYAxisTexts.clear();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user