summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-03-17 12:39:14 +0000
committerCarl Hetherington <cth@carlh.net>2017-03-17 12:39:14 +0000
commitf6943382731a98b2ca33de534fcbb9fd3d1ddf60 (patch)
tree843279a54352875e57d950b3bc60d62944f5dd3b /src/util.cc
parent528e3f81143401577a5a101e8d868ac431969f5b (diff)
Move Size operator functions to the same file as the class declaration.
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/util.cc b/src/util.cc
index 15b833a1..6dde5b37 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -245,22 +245,6 @@ dcp::init ()
}
}
-bool dcp::operator== (dcp::Size const & a, dcp::Size const & b)
-{
- return (a.width == b.width && a.height == b.height);
-}
-
-bool dcp::operator!= (dcp::Size const & a, dcp::Size const & b)
-{
- return !(a == b);
-}
-
-ostream& dcp::operator<< (ostream& s, dcp::Size const & a)
-{
- s << a.width << "x" << a.height;
- return s;
-}
-
/** Decode a base64 string. The base64 decode routine in KM_util.cpp
* gives different values to both this and the command-line base64
* for some inputs. Not sure why.