From fbd0184b77f4bcd7ec22642b5f75f2188b870f72 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 14 Mar 2018 23:58:27 -0400 Subject: Remove RunContext dependency from CompiledGraph --- src/server/CompiledGraph.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/server/CompiledGraph.hpp') 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 compile(Raul::Maid& maid, GraphImpl& graph); - void run(RunContext& context); + Task& master() { return *_master; } private: friend class Raul::Maid; ///< Allow make_managed to construct -- cgit v1.2.1