@@ -41,7 +41,7 @@ int goto_harness_parse_optionst::doit()
41
41
{
42
42
if(cmdline.isset("version"))
43
43
{
44
- logger .status() << CBMC_VERSION << '\n';
44
+ log .status() << CBMC_VERSION << '\n';
45
45
return CPROVER_EXIT_SUCCESS;
46
46
}
47
47
@@ -55,7 +55,7 @@ int goto_harness_parse_optionst::doit()
55
55
56
56
// Read goto binary into goto-model
57
57
auto read_goto_binary_result =
58
- read_goto_binary(got_harness_config.in_file, logger .get_message_handler());
58
+ read_goto_binary(got_harness_config.in_file, log .get_message_handler());
59
59
if(!read_goto_binary_result.has_value())
60
60
{
61
61
throw deserialization_exceptiont{"failed to read goto program from file `" +
@@ -89,7 +89,7 @@ int goto_harness_parse_optionst::doit()
89
89
90
90
// Write end result to new goto-binary
91
91
if(write_goto_binary(
92
- got_harness_config.out_file, goto_model, logger .get_message_handler()))
92
+ got_harness_config.out_file, goto_model, log .get_message_handler()))
93
93
{
94
94
throw system_exceptiont{"failed to write goto program from file `" +
95
95
got_harness_config.out_file + "'"};
@@ -100,7 +100,7 @@ int goto_harness_parse_optionst::doit()
100
100
101
101
void goto_harness_parse_optionst::help()
102
102
{
103
- logger .status()
103
+ log .status()
104
104
<< '\n'
105
105
<< banner_string("Goto-Harness", CBMC_VERSION) << '\n'
106
106
<< align_center_with_border("Copyright (C) 2019") << '\n'
@@ -127,8 +127,7 @@ goto_harness_parse_optionst::goto_harness_parse_optionst(
127
127
int argc,
128
128
const char *argv[])
129
129
: parse_options_baset{GOTO_HARNESS_OPTIONS, argc, argv, ui_message_handler},
130
- ui_message_handler(cmdline, std::string("GOTO-HARNESS ") + CBMC_VERSION),
131
- logger(ui_message_handler)
130
+ ui_message_handler(cmdline, std::string("GOTO-HARNESS ") + CBMC_VERSION)
132
131
{
133
132
}
134
133
0 commit comments