diff options
author | David Robillard <d@drobilla.net> | 2012-05-13 23:14:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-13 23:14:54 +0000 |
commit | 6c22dbd2e701146b3579bb3f7dd87847fd381d32 (patch) | |
tree | 2e1a5dadce50335527519278a3e005abb95f8740 /src/engine | |
parent | 6bf2a6953878a927f91edd3e07a9be0671f635e2 (diff) | |
download | machina-6c22dbd2e701146b3579bb3f7dd87847fd381d32.tar.gz machina-6c22dbd2e701146b3579bb3f7dd87847fd381d32.tar.bz2 machina-6c22dbd2e701146b3579bb3f7dd87847fd381d32.zip |
Fix silly emptiness check.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4399 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/MachineBuilder.cpp | 2 |
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); |