@@ -149,7 +149,7 @@ void ui_message_handlert::print(
149
149
{
150
150
source_locationt location;
151
151
location.make_nil ();
152
- print (level, message, - 1 , location);
152
+ print (level, message, location);
153
153
if (always_flush)
154
154
flush (level);
155
155
}
@@ -206,7 +206,6 @@ void ui_message_handlert::print(
206
206
void ui_message_handlert::print (
207
207
unsigned level,
208
208
const std::string &message,
209
- int sequence_number,
210
209
const source_locationt &location)
211
210
{
212
211
message_handlert::print (level, message);
@@ -217,7 +216,7 @@ void ui_message_handlert::print(
217
216
{
218
217
case uit::PLAIN:
219
218
message_handlert::print (
220
- level, message, sequence_number, location);
219
+ level, message, location);
221
220
break ;
222
221
223
222
case uit::XML_UI:
@@ -230,10 +229,7 @@ void ui_message_handlert::print(
230
229
231
230
const char *type=level_string (level);
232
231
233
- std::string sequence_number_str=
234
- sequence_number>=0 ?std::to_string (sequence_number):" " ;
235
-
236
- ui_msg (type, tmp_message, sequence_number_str, location);
232
+ ui_msg (type, tmp_message, location);
237
233
}
238
234
break ;
239
235
}
@@ -242,8 +238,7 @@ void ui_message_handlert::print(
242
238
243
239
void ui_message_handlert::ui_msg (
244
240
const std::string &type,
245
- const std::string &msg1,
246
- const std::string &msg2,
241
+ const std::string &msg,
247
242
const source_locationt &location)
248
243
{
249
244
switch (get_ui ())
@@ -252,19 +247,18 @@ void ui_message_handlert::ui_msg(
252
247
break ;
253
248
254
249
case uit::XML_UI:
255
- xml_ui_msg (type, msg1, msg2 , location);
250
+ xml_ui_msg (type, msg , location);
256
251
break ;
257
252
258
253
case uit::JSON_UI:
259
- json_ui_msg (type, msg1, msg2 , location);
254
+ json_ui_msg (type, msg , location);
260
255
break ;
261
256
}
262
257
}
263
258
264
259
void ui_message_handlert::xml_ui_msg (
265
260
const std::string &type,
266
261
const std::string &msg1,
267
- const std::string &,
268
262
const source_locationt &location)
269
263
{
270
264
xmlt result;
@@ -287,7 +281,6 @@ void ui_message_handlert::xml_ui_msg(
287
281
void ui_message_handlert::json_ui_msg (
288
282
const std::string &type,
289
283
const std::string &msg1,
290
- const std::string &,
291
284
const source_locationt &location)
292
285
{
293
286
INVARIANT (json_stream, " JSON stream must be initialized before use" );
0 commit comments