summaryrefslogtreecommitdiffstats
path: root/src/server/CompiledGraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/CompiledGraph.cpp')
-rw-r--r--src/server/CompiledGraph.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/CompiledGraph.cpp b/src/server/CompiledGraph.cpp
index fbc7ab26..12867d2c 100644
--- a/src/server/CompiledGraph.cpp
+++ b/src/server/CompiledGraph.cpp
@@ -153,7 +153,7 @@ compile_block(BlockImpl* n, ParTask& task, BlockSet& k)
}
CompiledGraph::CompiledGraph(GraphImpl& graph)
- : _master(std::unique_ptr<Task>(new Task(SeqTask())))
+ : _master(SeqTask())
{
ThreadManager::assert_thread(THREAD_PRE_PROCESS);
@@ -179,7 +179,7 @@ CompiledGraph::CompiledGraph(GraphImpl& graph)
compile_block(b, par, predecessors);
}
- boost::get<SeqTask>(_master.get())->emplace_front(std::move(par));
+ boost::get<SeqTask>(_master).emplace_front(std::move(par));
blocks = std::move(predecessors);
}
@@ -195,7 +195,7 @@ MPtr<CompiledGraph> compile(Raul::Maid& maid, GraphImpl& graph)
Log& log = graph.engine().log();
auto sink = [&log](const std::string& s) { log.trace(s); };
sink(graph.path() + " =>\n ");
- //result->master().dump(sink, 2, true);
+ dump(result->master(), sink, 2, true);
sink("\n");
}