summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-27 16:14:50 +0000
committerDavid Robillard <d@drobilla.net>2013-01-27 16:14:50 +0000
commit4c58728d246f35a01bb166d8d7821f0af032fd0f (patch)
tree721403937da668207bd8c11544c1a3d9916646b6
parent20c626bde66f371e1c9a79be4cf4a4ef25071815 (diff)
downloadingen-4c58728d246f35a01bb166d8d7821f0af032fd0f.tar.gz
ingen-4c58728d246f35a01bb166d8d7821f0af032fd0f.tar.bz2
ingen-4c58728d246f35a01bb166d8d7821f0af032fd0f.zip
Remove unused fields.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5012 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/server/CompiledGraph.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/CompiledGraph.hpp b/src/server/CompiledGraph.hpp
index 21b93058..ed67ca22 100644
--- a/src/server/CompiledGraph.hpp
+++ b/src/server/CompiledGraph.hpp
@@ -34,7 +34,7 @@ class BlockImpl;
class CompiledBlock {
public:
CompiledBlock(BlockImpl* b, size_t np, const std::list<BlockImpl*>& deps)
- : _block(b), _n_providers(np)
+ : _block(b)
{
// Copy to a vector for maximum iteration speed and cache optimization
// (Need to take a copy anyway)
@@ -45,12 +45,10 @@ public:
}
BlockImpl* block() const { return _block; }
- size_t n_providers() const { return _n_providers; }
const std::vector<BlockImpl*>& dependants() const { return _dependants; }
private:
BlockImpl* _block;
- size_t _n_providers; ///< Number of input ready signals to trigger run
std::vector<BlockImpl*> _dependants; ///< Blocks this one's output ports are connected to
};