Skip to content

Commit b2ef297

Browse files
committed
[NFC][hwasan] Remove default argument
1 parent 928564c commit b2ef297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/hwasan/hwasan_report.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace __hwasan {
3737

3838
class ScopedReport {
3939
public:
40-
ScopedReport(bool fatal = false) : fatal(fatal) {
40+
explicit ScopedReport(bool fatal) : fatal(fatal) {
4141
Lock lock(&error_message_lock_);
4242
error_message_ptr_ = fatal ? &error_message_ : nullptr;
4343
++hwasan_report_count;

0 commit comments

Comments
 (0)