Skip to content

Commit 7836d00

Browse files
Copilotnunoplopes
andauthored
Revert GetTemplateArgs nullptr change per review feedback
Agent-Logs-Url: https://github.com/Cpp2Rust/cpp2rust/sessions/b4837478-5dcc-426c-ab0e-2e2636c0fbd6 Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
1 parent 406c47e commit 7836d00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp2rust/converter/converter_lib.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ GetTemplateArgs(clang::QualType qual_type, clang::Expr *expr) {
539539
if (auto pt = qual_type->getPointeeType(); !pt.isNull())
540540
qual_type = pt;
541541

542-
return GetTemplateArgs(qual_type, nullptr);
542+
return GetTemplateArgs(qual_type);
543543
}
544544

545545
clang::Expr *GetCallObject(clang::CallExpr *expr) {

0 commit comments

Comments
 (0)