Skip to content

Commit 8402d50

Browse files
committed
Change harness_function_symbol type constructor
1 parent 14caf9a commit 8402d50

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/goto-harness/function_call_harness_generator.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ void function_call_harness_generatort::generate(
106106

107107
harness_function_symbol.is_lvalue = true;
108108
harness_function_symbol.mode = function_found->mode;
109-
harness_function_symbol.type =
110-
code_typet{code_typet::parameterst{}, void_typet{}};
109+
harness_function_symbol.type = code_typet{{}, void_typet{}};
111110
harness_function_symbol.value = function_body;
112111

113112
symbol_table.insert(harness_function_symbol);

0 commit comments

Comments
 (0)