ScatterDraw: Compatible with old C++

git-svn-id: svn://ultimatepp.org/upp/trunk@9650 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2016-03-28 13:17:34 +00:00
parent ec27a77769
commit d196b2a2ce

View file

@ -335,7 +335,8 @@ bool Spline::IsInputSane(Vector<double>& xdata, Vector<double>& ydata)
bool first = true;
double xold;
for(double x : xdata) {
for(int i = 0; i < xdata.GetCount(); ++i) {
double x = xdata[i];
if(first)
xold = x;
else {