aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Region.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/Region.h')
-rw-r--r--common/rfb/Region.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rfb/Region.h b/common/rfb/Region.h
index eb16861e..38de67ce 100644
--- a/common/rfb/Region.h
+++ b/common/rfb/Region.h
@@ -60,7 +60,8 @@ namespace rfb {
Region subtract(const Region& r) const
__attribute__ ((warn_unused_result));
- bool equals(const Region& b) const;
+ bool operator==(const Region& b) const;
+ bool operator!=(const Region& b) const;
int numRects() const;
bool is_empty() const { return numRects() == 0; }