diff options
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 66eaea39e..a68496e94 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -369,6 +369,11 @@ bool operator== (Size const & a, Size const & b) return (a.width == b.width && a.height == b.height); } +bool operator!= (Size const & a, Size const & b) +{ + return !(a == b); +} + bool operator== (Crop const & a, Crop const & b) { return (a.left == b.left && a.right == b.right && a.top == b.top && a.bottom == b.bottom); |
