Try without std::back_inserter. Some tinderboxes don't like that.

Change-Id: I37b5da446abe123d0e0526b5556014df606e6156
This commit is contained in:
Kohei Yoshida
2014-05-08 16:13:42 -04:00
parent 74335267c2
commit a4e028447e

View File

@@ -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();
}