Fix nonfunctional send-problem-report.
[dcpomatic.git] / src / lib / dcpomatic_time.h
index beea8c8980f52664f27937067aeac3e389d904ca..90e79de0a7b4cec45cee0a495d63554f2a6fa2c6 100644 (file)
@@ -258,7 +258,7 @@ public:
                return (from <= other && other < to);
        }
 
-       bool operator== (TimePeriod<T> const & other) {
+       bool operator== (TimePeriod<T> const & other) const {
                return from == other.from && to == other.to;
        }
 };
@@ -272,5 +272,6 @@ ContentTime min (ContentTime a, ContentTime b);
 ContentTime max (ContentTime a, ContentTime b);
 std::ostream& operator<< (std::ostream& s, ContentTime t);
 std::ostream& operator<< (std::ostream& s, DCPTime t);
+std::ostream& operator<< (std::ostream& s, DCPTimePeriod p);
 
 #endif