diff layer/SliceLayer.h @ 267:4ed1446ad604

* more on measurement tool -- pull out some logic from pane to layer &c still more to do
author Chris Cannam
date Thu, 21 Jun 2007 16:12:00 +0000
parents a3a54632cd4c
children b9380f679f70
line wrap: on
line diff
--- a/layer/SliceLayer.h	Thu Jun 21 14:05:23 2007 +0000
+++ b/layer/SliceLayer.h	Thu Jun 21 16:12:00 2007 +0000
@@ -129,7 +129,7 @@
     bool                              m_normalize;
     float                             m_gain;
     mutable std::vector<int>          m_scalePoints;
-    mutable std::map<View *, int>     m_xorigins;
+    mutable std::map<const View *, int> m_xorigins;
     mutable size_t                    m_currentf0;
     mutable size_t                    m_currentf1;
     mutable std::vector<float>        m_values;