diff --git a/maldoca/astgen/ast_from_json_printer.cc b/maldoca/astgen/ast_from_json_printer.cc index db38422..2968316 100644 --- a/maldoca/astgen/ast_from_json_printer.cc +++ b/maldoca/astgen/ast_from_json_printer.cc @@ -178,11 +178,11 @@ void AstFromJsonPrinter::PrintTypeChecker(const NodeDef& node) { if (type_it == $json_variable$.end()) { return false; } - const nlohmann::json &type_json = type_it.value(); + const nlohmann::json& type_json = type_it.value(); if (!type_json.is_string()) { return false; } - const std::string &type = type_json.get(); + const std::string& type = type_json.get(); )cc"); Println(code);