[Base/Core] Bring cvar/config code in line with the style guide.

This commit is contained in:
gibbed
2019-08-04 02:17:22 -05:00
parent 7ba460552c
commit f360053198
3 changed files with 61 additions and 63 deletions

View File

@@ -37,13 +37,13 @@ void ParseLaunchArguments(int argc, char** argv) {
}
for (auto& it : *CmdVars) {
auto cmdVar = static_cast<ICommandVar*>(it.second);
if (result.count(cmdVar->GetName())) {
if (result.count(cmdVar->name())) {
cmdVar->LoadFromLaunchOptions(&result);
}
}
for (auto& it : *ConfigVars) {
auto configVar = static_cast<IConfigVar*>(it.second);
if (result.count(configVar->GetName())) {
if (result.count(configVar->name())) {
configVar->LoadFromLaunchOptions(&result);
}
}