fix some compiler warnings

This commit is contained in:
Patrick Brosi 2018-07-22 18:37:03 +02:00
parent 0effea29bd
commit 30883e6487
7 changed files with 43 additions and 39 deletions

View file

@ -29,7 +29,7 @@ class Box {
bool operator==(const Box<T>& b) const {
return getLowerLeft() == b.getLowerLeft() &&
getUpperRight == b.getUpperRight();
getUpperRight() == b.getUpperRight();
}
bool operator!=(const Box<T>& p) const { return !(*this == p); }