- applied a patch from debian gcc 4.7

This commit is contained in:
Mark Vejvoda 2012-10-24 00:26:12 +00:00
parent e0428fb190
commit 92de14ac98
1 changed files with 4 additions and 4 deletions

View File

@ -186,10 +186,10 @@ public:
Rect2<T> computeBoundingRect() const{
return Rect2i(
min(p[0].x, p[1].x),
min(p[0].y, p[2].y),
max(p[2].x, p[3].x),
max(p[1].y, p[3].y));
std::min(p[0].x, p[1].x),
std::min(p[0].y, p[2].y),
std::max(p[2].x, p[3].x),
std::max(p[1].y, p[3].y));
}
bool isInside(const Vec2<T> &pt) const{