diff --git a/app/common/timerange.cpp b/app/common/timerange.cpp index a9cbad326..ac04bdd88 100644 --- a/app/common/timerange.cpp +++ b/app/common/timerange.cpp @@ -296,6 +296,11 @@ uint qHash(const TimeRange &r, uint seed) return qHash(r.in(), seed) ^ qHash(r.out(), seed); } +TimeRangeListFrameIterator::TimeRangeListFrameIterator() : + TimeRangeListFrameIterator(TimeRangeList(), rational::NaN) +{ +} + TimeRangeListFrameIterator::TimeRangeListFrameIterator(const TimeRangeList &list, const rational &timebase) : list_(list), timebase_(timebase), diff --git a/app/common/timerange.h b/app/common/timerange.h index 3a7be3054..14b12ebae 100644 --- a/app/common/timerange.h +++ b/app/common/timerange.h @@ -151,7 +151,7 @@ private: class TimeRangeListFrameIterator { public: - TimeRangeListFrameIterator() = default; + TimeRangeListFrameIterator(); TimeRangeListFrameIterator(const TimeRangeList &list, const rational &timebase); bool GetNext(rational *out);