Skip to content

Commit e2cda1a

Browse files
authored
Merge pull request diffblue#1704 from tautschnig/fix-copy-paste
Fix op1/op0 copy&paste typo
2 parents 21ea31f + ef4a65e commit e2cda1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpp/cpp_typecheck_constructor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static void copy_parent(
4848
code.operands().push_back(exprt("explicit-typecast"));
4949
exprt &op1=code.op1();
5050

51-
op0.type()=
51+
op1.type() =
5252
pointer_type(cpp_namet(parent_base_name, source_location).as_type());
5353
op1.type().set(ID_C_reference, true);
5454
op1.type().subtype().set(ID_C_constant, true);

0 commit comments

Comments
 (0)