diff options
author | David Robillard <d@drobilla.net> | 2017-11-12 18:18:06 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-11-12 18:21:16 +0100 |
commit | a66df006ccd3426148491f0a4c21c9facb8104ea (patch) | |
tree | dd312a1e8cde901ea1d9df9cb570f3d630cadbd3 /src/server/events/Mark.cpp | |
parent | 6f330e18a769e96b07bdd7e7214605a9e5e3ec58 (diff) | |
download | ingen-a66df006ccd3426148491f0a4c21c9facb8104ea.tar.gz ingen-a66df006ccd3426148491f0a4c21c9facb8104ea.tar.bz2 ingen-a66df006ccd3426148491f0a4c21c9facb8104ea.zip |
Make CompiledGraph::compile a free function
Diffstat (limited to 'src/server/events/Mark.cpp')
-rw-r--r-- | src/server/events/Mark.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/events/Mark.cpp b/src/server/events/Mark.cpp index eee2d552..abba85e8 100644 --- a/src/server/events/Mark.cpp +++ b/src/server/events/Mark.cpp @@ -54,8 +54,7 @@ Mark::pre_process(PreProcessContext& ctx) ctx.set_in_bundle(false); if (!ctx.dirty_graphs().empty()) { for (GraphImpl* g : ctx.dirty_graphs()) { - MPtr<CompiledGraph> cg = CompiledGraph::compile( - *_engine.maid(), *g); + MPtr<CompiledGraph> cg = compile(*_engine.maid(), *g); if (cg) { _compiled_graphs.insert(std::make_pair(g, std::move(cg))); } |