diff options
author | David Robillard <d@drobilla.net> | 2018-09-16 22:05:20 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-16 22:05:20 +0200 |
commit | a1162d5ee37e749c74f4180f372422c2cde733d6 (patch) | |
tree | f2c1369b88c580fc3722d92c60559439fce69601 /src | |
parent | d6d7c8e6f27fb603de14e0d84b1c867912d78e53 (diff) | |
download | machina-a1162d5ee37e749c74f4180f372422c2cde733d6.tar.gz machina-a1162d5ee37e749c74f4180f372422c2cde733d6.tar.bz2 machina-a1162d5ee37e749c74f4180f372422c2cde733d6.zip |
Explicitly initialise TimeDuration
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/Mutation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Mutation.cpp b/src/engine/Mutation.cpp index 776142d..fed2ad4 100644 --- a/src/engine/Mutation.cpp +++ b/src/engine/Mutation.cpp @@ -54,7 +54,7 @@ AddNode::mutate(Random& rng, Machine& machine) //cout << "ADD NODE" << endl; // Create random node - SPtr<Node> node(new Node(machine.time().unit())); + SPtr<Node> node(new Node(Raul::TimeDuration{machine.time().unit()})); node->set_selector(true); SPtr<Node> note_node = machine.random_node(); |