diff options
Diffstat (limited to 'src/powerlist.h')
-rw-r--r-- | src/powerlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/powerlist.h b/src/powerlist.h index a3af475..53a42b8 100644 --- a/src/powerlist.h +++ b/src/powerlist.h @@ -34,7 +34,7 @@ class PowerList { public: - PowerList(); + PowerList(Random& rand); void add(Sample* s); void finalise(); ///< Call this when no more samples will be added. @@ -49,7 +49,7 @@ private: float power; }; - Random rand; + Random& rand; std::vector<PowerListItem> samples; float power_max; |