Fix build.

This commit is contained in:
Nikolai Kochetov 2020-06-16 10:56:22 +03:00
parent 03e0a5ddbc
commit 61070a03cd

View File

@ -88,7 +88,7 @@ QueryPipelinePtr QueryPlan::buildQueryPipeline()
QueryPipelinePtr last_pipeline; QueryPipelinePtr last_pipeline;
std::stack<Frame> stack; std::stack<Frame> stack;
stack.push({.node = root}); stack.push(Frame{.node = root});
while (!stack.empty()) while (!stack.empty())
{ {
@ -104,7 +104,7 @@ QueryPipelinePtr QueryPlan::buildQueryPipeline()
stack.pop(); stack.pop();
} }
else else
stack.push({.node = frame.node->children[next_child]}); stack.push(Frame{.node = frame.node->children[next_child]});
} }
return last_pipeline; return last_pipeline;