aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-16 22:05:20 +0200
committerDavid Robillard <d@drobilla.net>2018-09-16 22:05:20 +0200
commita1162d5ee37e749c74f4180f372422c2cde733d6 (patch)
treef2c1369b88c580fc3722d92c60559439fce69601 /src
parentd6d7c8e6f27fb603de14e0d84b1c867912d78e53 (diff)
downloadmachina-a1162d5ee37e749c74f4180f372422c2cde733d6.tar.gz
machina-a1162d5ee37e749c74f4180f372422c2cde733d6.tar.bz2
machina-a1162d5ee37e749c74f4180f372422c2cde733d6.zip
Explicitly initialise TimeDuration
Diffstat (limited to 'src')
-rw-r--r--src/engine/Mutation.cpp2
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();