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