Skip to content
Snippets Groups Projects
Unverified Commit 9678485c authored by jie.wang's avatar jie.wang Committed by GitHub
Browse files

fix CartesianProduct addVar bug (#512)


Co-authored-by: default avatarcpw <13495049+CPWstatic@users.noreply.github.com>
parent 2931171b
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ Status CartesianProduct::addVar(std::string varName) {
}
auto* varPtr = qctx_->symTable()->getVar(varName);
DCHECK(varPtr != nullptr);
allColNames_.emplace_back(std::move(varPtr->colNames));
allColNames_.emplace_back(varPtr->colNames);
inputVars_.emplace_back(varPtr);
return Status::OK();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment