Just some constification

This commit is contained in:
Henrik Rydgård committed 2025-03-03 13:59:42 +01:00
1 parent 4989ec61d9
commit 95cf9c2e28
7 files changed
+15 -20

No files matched your search

+1 -1
View File
@@ -2015,7 +2015,7 @@ void Config::ResetControlLayout() {
g_Config.fRightStickHeadScale = 1.0f;
}
void Config::GetReportingInfo(UrlEncoder &data) {
void Config::GetReportingInfo(UrlEncoder &data) const {
for (size_t i = 0; i < numSections; ++i) {
const std::string prefix = std::string("config.") + sections[i].section;
for (size_t j = 0; j < sections[i].settingsCount; j++) {