Skip to content

Commit 38384f3

Browse files
authored
fix
1 parent 007714a commit 38384f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cpp2rust/converter/converter.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ void Converter::ConvertFunctionBody(clang::FunctionDecl *decl) {
432432
if (decl->isMain() && compound &&
433433
(compound->body_empty() ||
434434
!clang::isa<clang::ReturnStmt>(compound->body_back()))) {
435-
StrCat("0");
435+
StrCat('0');
436436
return;
437437
}
438438
if (!compound || compound->body_empty()) {

0 commit comments

Comments
 (0)