comparison data/model/IntervalModel.h @ 1608:0e0947896fd3

Fix compiler warnings
author Chris Cannam
date Wed, 27 Feb 2019 12:31:12 +0000
parents ad5f892c0c4d
children
comparison
equal deleted inserted replaced
1607:a77fc6da288b 1608:0e0947896fd3
46 * PointTypes have a duration, so this returns all points that span any 46 * PointTypes have a duration, so this returns all points that span any
47 * of the given range (as well as the usual additional few before 47 * of the given range (as well as the usual additional few before
48 * and after). Consequently this can be very slow (optimised data 48 * and after). Consequently this can be very slow (optimised data
49 * structures still to be done!). 49 * structures still to be done!).
50 */ 50 */
51 virtual typename SparseValueModel<PointType>::PointList getPoints(sv_frame_t start, sv_frame_t end) const; 51 typename SparseValueModel<PointType>::PointList getPoints(sv_frame_t start, sv_frame_t end) const override;
52 52
53 /** 53 /**
54 * PointTypes have a duration, so this returns all points that span the 54 * PointTypes have a duration, so this returns all points that span the
55 * given frame. Consequently this can be very slow (optimised 55 * given frame. Consequently this can be very slow (optimised
56 * data structures still to be done!). 56 * data structures still to be done!).
57 */ 57 */
58 virtual typename SparseValueModel<PointType>::PointList getPoints(sv_frame_t frame) const; 58 typename SparseValueModel<PointType>::PointList getPoints(sv_frame_t frame) const override;
59 59
60 const typename SparseModel<PointType>::PointList &getPoints() const override { 60 const typename SparseModel<PointType>::PointList &getPoints() const override {
61 return SparseModel<PointType>::getPoints(); 61 return SparseModel<PointType>::getPoints();
62 } 62 }
63 63