From 5268059f5d4ca9325a78da688a7622898354215a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 04:44:01 +0000 Subject: Remove 'using' declarations from headers. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1993 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/CompiledPatch.hpp | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'src/engine/CompiledPatch.hpp') diff --git a/src/engine/CompiledPatch.hpp b/src/engine/CompiledPatch.hpp index c412cbb8..4c62f494 100644 --- a/src/engine/CompiledPatch.hpp +++ b/src/engine/CompiledPatch.hpp @@ -24,35 +24,31 @@ #include "raul/Deletable.hpp" #include -using Raul::List; - -using namespace std; - namespace Ingen { /** All information required about a node to execute it in an audio thread. */ struct CompiledNode { - CompiledNode(NodeImpl* n, size_t np, List* d) + CompiledNode(NodeImpl* n, size_t np, Raul::List* d) : _node(n), _n_providers(np) { // Copy to a vector for maximum iteration speed and cache optimization // (Need to take a copy anyway) _dependants.reserve(d->size()); - for (List::iterator i = d->begin(); i != d->end(); ++i) + for (Raul::List::iterator i = d->begin(); i != d->end(); ++i) _dependants.push_back(*i); } - NodeImpl* node() const { return _node; } - size_t n_providers() const { return _n_providers; } - const vector& dependants() const { return _dependants; } + NodeImpl* node() const { return _node; } + size_t n_providers() const { return _n_providers; } + const std::vector& dependants() const { return _dependants; } private: - NodeImpl* _node; - size_t _n_providers; ///< Number of input ready signals to trigger run - vector _dependants; ///< Nodes this one's output ports are connected to + NodeImpl* _node; + size_t _n_providers; ///< Number of input ready signals to trigger run + std::vector _dependants; ///< Nodes this one's output ports are connected to }; -- cgit v1.2.1