mirror of https://github.com/stella-emu/stella.git
Coding style.
This commit is contained in:
parent
96b5ffc386
commit
262084778e
|
@ -44,7 +44,10 @@ void SettingsRepositoryMACOS::save(const std::map<string, Variant>& values)
|
||||||
@autoreleasepool {
|
@autoreleasepool {
|
||||||
NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];
|
NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];
|
||||||
|
|
||||||
for(const auto& pair: values)
|
for (const auto& pair: values)
|
||||||
[defaults setObject:[NSString stringWithUTF8String:pair.second.toCString()] forKey:[NSString stringWithUTF8String:pair.first.c_str()]];
|
[defaults
|
||||||
|
setObject:[NSString stringWithUTF8String:pair.second.toCString()]
|
||||||
|
forKey:[NSString stringWithUTF8String:pair.first.c_str()]
|
||||||
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue