Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
[dcpomatic.git] / src / lib / dcpomatic_time.h
index 496f54d8efdb7fbf57a65a0fef0fc2ddc7505a9e..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;
        }
 };