Skip to content

Commit 53915ee

Browse files
committed
fix
1 parent f95fb24 commit 53915ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎cpp2rust/converter/models/converter_refcount.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,8 @@ ConverterRefCount::ConvertFreshObject(clang::Expr *expr,
366366
s.erase(pos, 2);
367367
return s;
368368
};
369-
if (normalize(std::string(target_ptr_type)) == normalize(ConvertPtrType(pointee))) {
369+
if (normalize(std::string(target_ptr_type)) ==
370+
normalize(ConvertPtrType(pointee))) {
370371
shape = ObjectShape::Element;
371372
}
372373
}

0 commit comments

Comments
 (0)