summaryrefslogtreecommitdiff
path: root/test/test.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-21 02:44:11 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-21 20:15:14 +0100
commit28111007e2e6fd62f5810be780706ae1618bd33f (patch)
treed99fe830ba961b174d3f024d2b5671a9821ed8a9 /test/test.h
parentc7d77490382d6ddb625340c05b57487cde244f96 (diff)
Adapt for libdcp use of enum class.
Diffstat (limited to 'test/test.h')
-rw-r--r--test/test.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/test.h b/test/test.h
index 44ca706f6..c188a614f 100644
--- a/test/test.h
+++ b/test/test.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013-2019 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -20,6 +20,7 @@
#include "lib/warnings.h"
+#include <dcp/types.h>
#include <boost/filesystem.hpp>
@@ -66,3 +67,9 @@ private:
std::shared_ptr<Log> _old;
};
+namespace dcp {
+
+std::ostream& operator<< (std::ostream& s, dcp::Size i);
+std::ostream& operator<< (std::ostream& s, Standard t);
+
+}