aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/engine/MachineBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/MachineBuilder.cpp b/src/engine/MachineBuilder.cpp
index f7a1a30..7157b8f 100644
--- a/src/engine/MachineBuilder.cpp
+++ b/src/engine/MachineBuilder.cpp
@@ -184,7 +184,7 @@ MachineBuilder::event(Raul::TimeStamp time_offset,
_connect_node_end_time = t;
// Finish a polyphonic section
- if (_poly_nodes.size() > 0) {
+ if (!_poly_nodes.empty()) {
_connect_node = SharedPtr<Node>(new Node(TimeStamp(unit)));
_machine->add_node(_connect_node);