Fixes after rebase

This commit is contained in:
wechman
2022-09-28 13:09:16 +02:00
parent d414469014
commit 7b81a65bc6
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ bool ASTJsonExporter::visit(UsingForDirective const& _node)
functionNode["function"] = toJson(*function);
if (op.has_value())
functionNode["operator"] = string(TokenTraits::toString(*op));
functionList.append(move(functionNode));
functionList.append(std::move(functionNode));
}
attributes.emplace_back("functionList", std::move(functionList));
}
+1 -1
View File
@@ -405,7 +405,7 @@ ASTPointer<UsingForDirective> ASTJsonImporter::createUsingForDirective(Json::Val
return createASTNode<UsingForDirective>(
_node,
std::move(functions),
move(operators),
std::move(operators),
!_node.isMember("libraryName"),
_node["typeName"].isNull() ? nullptr : convertJsonToASTNode<TypeName>(_node["typeName"]),
memberAsBool(_node, "global")