X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Futil.cc;h=b8b60c6f645415652e66d883ff68722219a62bb5;hb=dad98398e1ef5f2982dc28303f4491135007b209;hp=2f8be6edde675dc37de0c1336b7d3a406bcf61fe;hpb=5f0f0de782100a5cb558f30c7768c8af0c19bcb7;p=dcpomatic.git diff --git a/src/lib/util.cc b/src/lib/util.cc index 2f8be6edd..b8b60c6f6 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -637,8 +637,8 @@ Socket::read_uint32 () /** @param other A Rect. * @return The intersection of this with `other'. */ -Rect -Rect::intersection (Rect const & other) const +dvdomatic::Rect +dvdomatic::Rect::intersection (Rect const & other) const { int const tx = max (x, other.x); int const ty = max (y, other.y);