Skip to content

Commit c4e2560

Browse files
vmcjeldering
authored andcommitted
Does this work.
1 parent 779f0dd commit c4e2560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

judge/runguard.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ void verbose(const char *format, ...)
234234
void verbose_from_signalhandler(const char* msg)
235235
{
236236
if (!be_quiet && be_verbose) {
237-
std::ignore = write(STDERR_FILENO, msg, strlen(msg));
237+
static_cast<void>(write(STDERR_FILENO, msg, strlen(msg)));
238238
}
239239
}
240240

0 commit comments

Comments
 (0)