Move the report bool into the flags field

This commit is contained in:
Henrik Rydgård committed 2023-04-08 09:22:02 +02:00
1 parent d077a75aa4
commit 88a209a342
3 files changed
+43 -62

No files matched your search

+2 -2
View File
@@ -126,8 +126,8 @@ void ConfigSetting::RestoreToDefault() const {
}
}
void ConfigSetting::Report(UrlEncoder &data, const std::string &prefix) const {
if (!report_)
void ConfigSetting::ReportSetting(UrlEncoder &data, const std::string &prefix) const {
if (!Report())
return;
switch (type_) {