summaryrefslogtreecommitdiffstats
path: root/src/server/CompiledGraph.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-03-14 23:58:27 -0400
committerDavid Robillard <d@drobilla.net>2018-03-14 23:58:27 -0400
commitfbd0184b77f4bcd7ec22642b5f75f2188b870f72 (patch)
tree30ec1b1e6fa6873a4171e96a387487bc2fbe0a72 /src/server/CompiledGraph.hpp
parentbffcef562bfc7037470adc07f104524350021260 (diff)
downloadingen-fbd0184b77f4bcd7ec22642b5f75f2188b870f72.tar.gz
ingen-fbd0184b77f4bcd7ec22642b5f75f2188b870f72.tar.bz2
ingen-fbd0184b77f4bcd7ec22642b5f75f2188b870f72.zip
Remove RunContext dependency from CompiledGraph
Diffstat (limited to 'src/server/CompiledGraph.hpp')
-rw-r--r--src/server/CompiledGraph.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/CompiledGraph.hpp b/src/server/CompiledGraph.hpp
index 9f4de68c..3af43722 100644
--- a/src/server/CompiledGraph.hpp
+++ b/src/server/CompiledGraph.hpp
@@ -32,7 +32,6 @@ namespace Server {
class BlockImpl;
class GraphImpl;
-class RunContext;
/** A graph ``compiled'' into a quickly executable form.
*
@@ -46,7 +45,7 @@ class CompiledGraph : public Raul::Maid::Disposable
public:
static MPtr<CompiledGraph> compile(Raul::Maid& maid, GraphImpl& graph);
- void run(RunContext& context);
+ Task& master() { return *_master; }
private:
friend class Raul::Maid; ///< Allow make_managed to construct