Skip to content

Commit 15379e2

Browse files
authored
Merge pull request #3617 from tautschnig/vs-set_is_stub
Actually use the parameter of set_is_stub [blocks: #2310]
2 parents 208197d + 81bc04b commit 15379e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jbmc/src/java_bytecode/java_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ class java_class_typet:public class_typet
171171
set(ID_final, is_final);
172172
}
173173

174-
void set_is_stub(const bool &is_stub)
174+
void set_is_stub(bool is_stub)
175175
{
176-
set(ID_incomplete_class, true);
176+
set(ID_incomplete_class, is_stub);
177177
}
178178

179179
bool get_is_stub() const

0 commit comments

Comments
 (0)