summaryrefslogtreecommitdiffstats
path: root/src/server/PatchImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-06 14:48:26 +0000
committerDavid Robillard <d@drobilla.net>2011-10-06 14:48:26 +0000
commit5994178571afa3483d2a52ce78646d4161153ea5 (patch)
tree10c2943cc754807833aad6a1f9a19fb94c4d22f5 /src/server/PatchImpl.cpp
parent37e686ac346bdb77386dc3f7307ff956d40f2643 (diff)
downloadingen-5994178571afa3483d2a52ce78646d4161153ea5.tar.gz
ingen-5994178571afa3483d2a52ce78646d4161153ea5.tar.bz2
ingen-5994178571afa3483d2a52ce78646d4161153ea5.zip
Simpler providers/dependants implementation.
Raul::List is no longer necessary here since these lists are only accessed in the pre-processing thread. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3531 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/PatchImpl.cpp')
-rw-r--r--src/server/PatchImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PatchImpl.cpp b/src/server/PatchImpl.cpp
index fb24faf7..c99b0bb1 100644
--- a/src/server/PatchImpl.cpp
+++ b/src/server/PatchImpl.cpp
@@ -444,7 +444,7 @@ PatchImpl::compile() const
for (Nodes::const_iterator i = _nodes.begin(); i != _nodes.end(); ++i) {
NodeImpl* const node = (*i);
// Either a sink or connected to our output ports:
- if ( ( ! node->traversed()) && node->dependants()->size() == 0)
+ if (!node->traversed() && node->dependants().size() == 0)
compile_recursive(node, compiled_patch);
}