diff layer/SliceLayer.h @ 805:1d526ba11a24 warnfix_no_size_t

Remove size_t's and fix warnings in layer/
author Chris Cannam
date Tue, 17 Jun 2014 15:18:06 +0100
parents 5b72899d692b
children b66fb15de477
line wrap: on
line diff
--- a/layer/SliceLayer.h	Tue Jun 03 11:10:52 2014 +0100
+++ b/layer/SliceLayer.h	Tue Jun 17 15:18:06 2014 +0100
@@ -115,10 +115,10 @@
     virtual float getYForValue(float value, const View *v, float &norm) const;
     virtual float getValueForY(float y, const View *v) const;
     
-    virtual QString getFeatureDescription(View *v, QPoint &,
-                                          bool includeBinDescription,
-                                          int &minbin, int &maxbin,
-                                          int &range) const;
+    virtual QString getFeatureDescriptionAux(View *v, QPoint &,
+                                             bool includeBinDescription,
+                                             int &minbin, int &maxbin,
+                                             int &range) const;
 
     // This curve may, of course, be flat -- the spectrum uses it for
     // normalizing the fft results by the fft size (with 1/(fftsize/2)
@@ -144,8 +144,8 @@
     mutable std::map<const View *, int> m_xorigins;
     mutable std::map<const View *, int> m_yorigins;
     mutable std::map<const View *, int> m_heights;
-    mutable size_t                    m_currentf0;
-    mutable size_t                    m_currentf1;
+    mutable int                    m_currentf0;
+    mutable int                    m_currentf1;
     mutable std::vector<float>        m_values;
 };