summaryrefslogtreecommitdiff
path: root/src/powerlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/powerlist.h')
-rw-r--r--src/powerlist.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/powerlist.h b/src/powerlist.h
index ff360b4..9066ce1 100644
--- a/src/powerlist.h
+++ b/src/powerlist.h
@@ -38,7 +38,7 @@ public:
void add(Sample* s);
void finalise(); ///< Call this when no more samples will be added.
-
+
Sample* get(level_t velocity);
private:
@@ -53,7 +53,7 @@ private:
std::vector<PowerListItem> samples;
float power_max;
float power_min;
-
- Channel* getMasterChannel();
+
+ const Channel* getMasterChannel();
Sample* lastsample;
};