diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libsample/point.cpp | 6 | ||||
-rw-r--r-- | tests/libsample/point.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/tests/libsample/point.cpp b/tests/libsample/point.cpp index 4c527b3a0..0b6540202 100644 --- a/tests/libsample/point.cpp +++ b/tests/libsample/point.cpp @@ -86,12 +86,6 @@ Point::operator+=(Point &other) return *this; } -bool -Point::operator!=(const Point &other) -{ - return (m_x != other.m_x) || (m_y != other.m_y); -} - Point& Point::operator-=(Point &other) { diff --git a/tests/libsample/point.h b/tests/libsample/point.h index 04eb4e195..a81750391 100644 --- a/tests/libsample/point.h +++ b/tests/libsample/point.h @@ -74,7 +74,6 @@ public: Point& operator+=(Point &other); Point& operator-=(Point &other); - bool operator!=(const Point &other); void show(); |