aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/Problem.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/Problem.hpp')
-rw-r--r--src/engine/Problem.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/engine/Problem.hpp b/src/engine/Problem.hpp
index 6e5c69b..ced3675 100644
--- a/src/engine/Problem.hpp
+++ b/src/engine/Problem.hpp
@@ -84,7 +84,12 @@ private:
};*/
struct Evaluator : public Raul::MIDISink {
- Evaluator(const Problem& problem) : _problem(problem), _order(4), _n_notes(0), _first_note(0) {
+ explicit Evaluator(const Problem& problem)
+ : _problem(problem)
+ , _order(4)
+ , _n_notes(0)
+ , _first_note(0)
+ {
for (uint8_t i=0; i < 128; ++i)
_counts[i] = 0;
}