Fix build.

This commit is contained in:
Nikolai Kochetov 2020-06-18 22:03:21 +03:00
parent 0ba7ff85e1
commit 6cbdb6da00

View File

@ -63,7 +63,7 @@ void QueryPlan::unitePlans(QueryPlanStepPtr step, std::vector<QueryPlan> plans)
}
for (auto & plan : plans)
nodes.insert(nodes.end(), plan.nodes.begin(), plan.nodes.end());
nodes.splice(nodes.end(), std::move(plan.nodes));
nodes.emplace_back(Node{.step = std::move(step)});
root = &nodes.back();