projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge master.
[dcpomatic.git]
/
src
/
lib
/
position.h
diff --git
a/src/lib/position.h
b/src/lib/position.h
index 345f7ab4a85bcd8b0cd7565543e4736f26e90968..3c561d85c2b14b909b2f7e1fd2445bed662ff189 100644
(file)
--- a/
src/lib/position.h
+++ b/
src/lib/position.h
@@
-64,4
+64,11
@@
operator== (Position<T> const & a, Position<T> const & b)
return a.x == b.x && a.y == b.y;
}
return a.x == b.x && a.y == b.y;
}
+template<class T>
+bool
+operator!= (Position<T> const & a, Position<T> const & b)
+{
+ return a.x != b.x || a.y != b.y;
+}
+
#endif
#endif