Merge "Fix Wbitwise-instead-of-logical introduced by clang-r445002"
This commit is contained in:
commit
9f165ca3e1
@ -280,7 +280,7 @@ void ReportFile::addReport(const IncidentReportArgs& args) {
|
||||
// Lower privacy policy (less restrictive) wins.
|
||||
report->set_privacy_policy(args.getPrivacyPolicy());
|
||||
}
|
||||
report->set_all_sections(report->all_sections() | args.all());
|
||||
report->set_all_sections(report->all_sections() || args.all());
|
||||
for (int section: args.sections()) {
|
||||
if (!has_section(*report, section)) {
|
||||
report->add_section(section);
|
||||
|
Loading…
x
Reference in New Issue
Block a user