comparison data/model/IntervalModel.h @ 935:f960d67ce842 tonioni

Merge from branch warnfix_no_size_t
author Chris Cannam
date Wed, 18 Jun 2014 13:42:01 +0100
parents 59e7fe1b1003
children bfe724787abf
comparison
equal deleted inserted replaced
925:3efc20c59a94 935:f960d67ce842
27 27
28 template <typename PointType> 28 template <typename PointType>
29 class IntervalModel : public SparseValueModel<PointType> 29 class IntervalModel : public SparseValueModel<PointType>
30 { 30 {
31 public: 31 public:
32 IntervalModel(size_t sampleRate, size_t resolution, 32 IntervalModel(int sampleRate, int resolution,
33 bool notifyOnAdd = true) : 33 bool notifyOnAdd = true) :
34 SparseValueModel<PointType>(sampleRate, resolution, notifyOnAdd) 34 SparseValueModel<PointType>(sampleRate, resolution, notifyOnAdd)
35 { } 35 { }
36 36
37 IntervalModel(size_t sampleRate, size_t resolution, 37 IntervalModel(int sampleRate, int resolution,
38 float valueMinimum, float valueMaximum, 38 float valueMinimum, float valueMaximum,
39 bool notifyOnAdd = true) : 39 bool notifyOnAdd = true) :
40 SparseValueModel<PointType>(sampleRate, resolution, 40 SparseValueModel<PointType>(sampleRate, resolution,
41 valueMinimum, valueMaximum, 41 valueMinimum, valueMaximum,
42 notifyOnAdd) 42 notifyOnAdd)