comparison data/model/IntervalModel.h @ 929:59e7fe1b1003 warnfix_no_size_t

Unsigned removals and warning fixes in data/
author Chris Cannam
date Tue, 17 Jun 2014 14:33:42 +0100
parents e22b6e89a7f7
children bfe724787abf
comparison
equal deleted inserted replaced
928:6a94bb528e9d 929:59e7fe1b1003
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)