Skip to content

Commit a55d239

Browse files
author
Daniel Kroening
committed
strengthen typing of instructiont::make_X
1 parent 93fcb68 commit a55d239

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/goto-programs/goto_program.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,19 +376,19 @@ class goto_programt
376376
type = GOTO;
377377
}
378378

379-
void make_assignment(const codet &_code)
379+
void make_assignment(const code_assignt &_code)
380380
{
381381
clear(ASSIGN);
382382
code=_code;
383383
}
384384

385-
void make_decl(const codet &_code)
385+
void make_decl(const code_declt &_code)
386386
{
387387
clear(DECL);
388388
code=_code;
389389
}
390390

391-
void make_function_call(const codet &_code)
391+
void make_function_call(const code_function_callt &_code)
392392
{
393393
clear(FUNCTION_CALL);
394394
code=_code;

0 commit comments

Comments
 (0)