Avoid variable shadowing

This commit is contained in:
Dane Springmeyer 2013-01-02 13:56:24 -08:00
parent b964151200
commit 982a829ce2

View file

@ -27,7 +27,7 @@ struct pixel_position
{
double x;
double y;
pixel_position(double x, double y) : x(x), y(y) { }
pixel_position(double x_, double y_) : x(x_), y(y_) { }
pixel_position() : x(0), y(0) { }
};