Mercurial > hg > svcore
diff data/model/SparseValueModel.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 | 1415e35881f6 |
children | a1cd5abcb38b |
line wrap: on
line diff
--- a/data/model/SparseValueModel.h Tue Jun 17 13:52:07 2014 +0100 +++ b/data/model/SparseValueModel.h Tue Jun 17 14:33:42 2014 +0100 @@ -31,7 +31,7 @@ class SparseValueModel : public SparseModel<PointType> { public: - SparseValueModel(size_t sampleRate, size_t resolution, + SparseValueModel(int sampleRate, int resolution, bool notifyOnAdd = true) : SparseModel<PointType>(sampleRate, resolution, notifyOnAdd), m_valueMinimum(0.f), @@ -39,7 +39,7 @@ m_haveExtents(false) { } - SparseValueModel(size_t sampleRate, size_t resolution, + SparseValueModel(int sampleRate, int resolution, float valueMinimum, float valueMaximum, bool notifyOnAdd = true) : SparseModel<PointType>(sampleRate, resolution, notifyOnAdd),