diff options
Diffstat (limited to 'src/lib/rect.h')
| -rw-r--r-- | src/lib/rect.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/rect.h b/src/lib/rect.h index 963119b50..97b90abc5 100644 --- a/src/lib/rect.h +++ b/src/lib/rect.h @@ -27,15 +27,15 @@ namespace dcpomatic { - + /** @struct Rect * @brief A rectangle. */ -template <class T> +template <class T> class Rect { public: - + Rect () : x (0) , y (0) @@ -71,7 +71,7 @@ public: { T const tx = max (x, other.x); T const ty = max (y, other.y); - + return Rect ( tx, ty, min (x + width, other.x + other.width) - tx, |
