diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-19 20:11:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-03 09:41:18 +0200 |
| commit | d8534242aec6fb3b79efdd28385e97c42be774eb (patch) | |
| tree | 3d9c4bf11c8d51f24b4863b3d62975bc6eacb0e8 /src/lib | |
| parent | 7f35c43bafa0ce654b4cfb9c7ea5b6ea0c1ddd37 (diff) | |
Use default Time constructor instead of comparing get() with 0.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/film.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index 3c7a8efb3..21d69d233 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1673,7 +1673,7 @@ Film::check_reel_boundaries_for_atmos() if (remake_boundaries) { vector<dcpomatic::DCPTime> required_boundaries; std::copy_if(atmos_boundaries.begin(), atmos_boundaries.end(), std::back_inserter(required_boundaries), [this](dcpomatic::DCPTime time) { - return time.get() != 0 && time != length(); + return time != dcpomatic::DCPTime() && time != length(); }); if (!required_boundaries.empty()) { set_reel_type(ReelType::CUSTOM); |
