summaryrefslogtreecommitdiff
path: root/src/lib/font.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-08 23:56:32 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-10 23:43:55 +0100
commitf41818f14369f170475b7f2bde1a2dd856517b14 (patch)
tree2fd7d07fb63e46e8ad2964917cff5704d1893f85 /src/lib/font.cc
parentc4403784febdbdd42e9c32e67fadb147f11fe566 (diff)
Put Font and Screen into dcpomatic namespace.
Diffstat (limited to 'src/lib/font.cc')
-rw-r--r--src/lib/font.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/font.cc b/src/lib/font.cc
index 333539aa4..019c9ab07 100644
--- a/src/lib/font.cc
+++ b/src/lib/font.cc
@@ -24,6 +24,7 @@
#include <boost/foreach.hpp>
using std::string;
+using namespace dcpomatic;
Font::Font (cxml::NodePtr node)
: _id (node->string_child ("Id"))
@@ -47,7 +48,7 @@ Font::as_xml (xmlpp::Node* node)
bool
-operator== (Font const & a, Font const & b)
+dcpomatic::operator== (Font const & a, Font const & b)
{
if (a.id() != b.id()) {
return false;
@@ -57,7 +58,7 @@ operator== (Font const & a, Font const & b)
}
bool
-operator!= (Font const & a, Font const & b)
+dcpomatic::operator!= (Font const & a, Font const & b)
{
return !(a == b);
}