diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-28 23:45:34 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | a78b741c43830c84bcb4d18e3147746f13a668e5 (patch) | |
| tree | 170fdc1a80f397ccb6c2e9454a7a106448358dda /src/lib/dcpomatic_time.h | |
| parent | 3d90ce7a500a33b6147c30b65766efcbc447f5ab (diff) | |
Attempt to tidy up internal APIs slightly.
Diffstat (limited to 'src/lib/dcpomatic_time.h')
| -rw-r--r-- | src/lib/dcpomatic_time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcpomatic_time.h b/src/lib/dcpomatic_time.h index 16d93ca28..35ddd0199 100644 --- a/src/lib/dcpomatic_time.h +++ b/src/lib/dcpomatic_time.h @@ -260,7 +260,7 @@ public: return TimePeriod<T> (from + o, to + o); } - boost::optional<TimePeriod<T> > overlap (TimePeriod<T> const & other) { + boost::optional<TimePeriod<T> > overlap (TimePeriod<T> const & other) const { T const max_from = std::max (from, other.from); T const min_to = std::min (to, other.to); |
