From 5994178571afa3483d2a52ce78646d4161153ea5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 6 Oct 2011 14:48:26 +0000 Subject: 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 --- src/server/PatchImpl.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/server/PatchImpl.hpp') diff --git a/src/server/PatchImpl.hpp b/src/server/PatchImpl.hpp index 5795a066..095a04b7 100644 --- a/src/server/PatchImpl.hpp +++ b/src/server/PatchImpl.hpp @@ -154,11 +154,12 @@ PatchImpl::compile_recursive(NodeImpl* n, CompiledPatch* output) const n->traversed(true); assert(output != NULL); - for (Raul::List::iterator i = n->providers()->begin(); i != n->providers()->end(); ++i) - if ( ! (*i)->traversed() ) - compile_recursive((*i), output); + for (std::list::iterator i = n->providers().begin(); + i != n->providers().end(); ++i) + if (!(*i)->traversed()) + compile_recursive(*i, output); - output->push_back(CompiledNode(n, n->providers()->size(), n->dependants())); + output->push_back(CompiledNode(n, n->providers().size(), n->dependants())); } } // namespace Server -- cgit v1.2.1