From 6c22dbd2e701146b3579bb3f7dd87847fd381d32 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 13 May 2012 23:14:54 +0000 Subject: Fix silly emptiness check. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4399 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/MachineBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(new Node(TimeStamp(unit))); _machine->add_node(_connect_node); -- cgit v1.2.1