Skip to content

Commit 859a879

Browse files
committed
Revert unwanted change
1 parent b5cddb3 commit 859a879

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎cpp2rust/converter/converter.cpp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3411,8 +3411,7 @@ bool Converter::VisitMemberExpr(clang::MemberExpr *expr) {
34113411
if (is_reference_type || RuleRegistry::ReturnsPointer(ctx_, expr)) {
34123412
computed_expr_type_ = ComputedExprType::Pointer;
34133413
} else {
3414-
StrCat(token::kRef,
3415-
expr->getType().isConstQualified() ? "" : keyword_mut_);
3414+
StrCat(token::kRef);
34163415
computed_expr_type_ = ComputedExprType::FreshPointer;
34173416
}
34183417
StrCat(str);

0 commit comments

Comments
 (0)