diff options
author | David Robillard <d@drobilla.net> | 2009-05-13 04:44:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-13 04:44:01 +0000 |
commit | 5268059f5d4ca9325a78da688a7622898354215a (patch) | |
tree | ebf19a912d4bf98966b3bf7c289059b0644bf47e /src/engine/CompiledPatch.hpp | |
parent | 19928bb583e72802746b89e322f71ecc0fcb7427 (diff) | |
download | ingen-5268059f5d4ca9325a78da688a7622898354215a.tar.gz ingen-5268059f5d4ca9325a78da688a7622898354215a.tar.bz2 ingen-5268059f5d4ca9325a78da688a7622898354215a.zip |
Remove 'using' declarations from headers.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1993 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/CompiledPatch.hpp')
-rw-r--r-- | src/engine/CompiledPatch.hpp | 20 |
1 files changed, 8 insertions, 12 deletions
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 <boost/utility.hpp> -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<NodeImpl*>* d) + CompiledNode(NodeImpl* n, size_t np, Raul::List<NodeImpl*>* 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<NodeImpl*>::iterator i = d->begin(); i != d->end(); ++i) + for (Raul::List<NodeImpl*>::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<NodeImpl*>& dependants() const { return _dependants; } + NodeImpl* node() const { return _node; } + size_t n_providers() const { return _n_providers; } + const std::vector<NodeImpl*>& dependants() const { return _dependants; } private: - NodeImpl* _node; - size_t _n_providers; ///< Number of input ready signals to trigger run - vector<NodeImpl*> _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<NodeImpl*> _dependants; ///< Nodes this one's output ports are connected to }; |